nuno-faria opened a new pull request, #1766:
URL: https://github.com/apache/datafusion-python/pull/1766
# Which issue does this PR close?
Closes #1765.
# Rationale for this change
Make `sort` follow the same default as upstream (i.e., order nulls last).
# What changes are included in this PR?
- Changed the default value of `nulls_first` to `False`.
- Added a unit test / updated previous tests.
# Are there any user-facing changes?
`df.sort` without an explicit `nulls_first` orders nulls last, similarly to
`df.sort_by` and SQL's `ORDER BY`.
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: [email protected]
For queries about this service, please contact Infrastructure at:
[email protected]
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]