Skip to content

Commit 3ab9a6c

Browse files
timsaucerCopilot
andauthored
Update docstring
Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
1 parent ea4a0e3 commit 3ab9a6c

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

python/datafusion/dataframe.py

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1167,9 +1167,9 @@ def distinct_on(
11671167
def sort_by(self, *exprs: Expr | str) -> DataFrame:
11681168
"""Sort the DataFrame by column expressions in ascending order.
11691169
1170-
This is a convenience method that sorts all columns in ascending order
1171-
with nulls last. For more control over sort direction and null ordering,
1172-
use :py:meth:`sort` instead.
1170+
This is a convenience method that sorts the DataFrame by the given
1171+
expressions in ascending order with nulls last. For more control over
1172+
sort direction and null ordering, use :py:meth:`sort` instead.
11731173
11741174
Args:
11751175
exprs: Expressions or column names to sort by.

0 commit comments

Comments
 (0)