diff --git a/daft/dataframe/dataframe.py b/daft/dataframe/dataframe.py index 64d72d2ba5..2a84b7e967 100644 --- a/daft/dataframe/dataframe.py +++ b/daft/dataframe/dataframe.py @@ -2550,7 +2550,7 @@ def intersect_all(self, other: "DataFrame") -> "DataFrame": >>> import daft >>> df1 = daft.from_pydict({"a": [1, 2, 2], "b": [4, 6, 6]}) >>> df2 = daft.from_pydict({"a": [1, 1, 2, 2], "b": [4, 4, 6, 6]}) - >>> df1.intersect_all(df2).collect() + >>> df1.intersect_all(df2).sort("a").collect() ╭───────┬───────╮ │ a ┆ b │ │ --- ┆ --- │