File tree 2 files changed +14
-6
lines changed
2 files changed +14
-6
lines changed Original file line number Diff line number Diff line change @@ -5101,12 +5101,16 @@ def merge_sorted(other, key)
5101
5101
lazy . merge_sorted ( other . lazy , key ) . collect ( _eager : true )
5102
5102
end
5103
5103
5104
- # Indicate that one or multiple columns are sorted.
5104
+ # Flag a column as sorted.
5105
+ #
5106
+ # This can speed up future operations.
5107
+ #
5108
+ # Warning: This can lead to incorrect results if the data is NOT sorted! Use with care!
5105
5109
#
5106
5110
# @param column [Object]
5107
- # Columns that are sorted
5111
+ # Column that is sorted.
5108
5112
# @param descending [Boolean]
5109
- # Whether the columns are sorted in descending order.
5113
+ # Whether the column is sorted in descending order.
5110
5114
#
5111
5115
# @return [DataFrame]
5112
5116
def set_sorted (
Original file line number Diff line number Diff line change @@ -3347,12 +3347,16 @@ def merge_sorted(other, key)
3347
3347
_from_rbldf ( _ldf . merge_sorted ( other . _ldf , key ) )
3348
3348
end
3349
3349
3350
- # Indicate that one or multiple columns are sorted.
3350
+ # Flag a column as sorted.
3351
+ #
3352
+ # This can speed up future operations.
3353
+ #
3354
+ # Warning: This can lead to incorrect results if the data is NOT sorted! Use with care!
3351
3355
#
3352
3356
# @param column [Object]
3353
- # Columns that are sorted
3357
+ # Column that is sorted.
3354
3358
# @param descending [Boolean]
3355
- # Whether the columns are sorted in descending order.
3359
+ # Whether the column is sorted in descending order.
3356
3360
#
3357
3361
# @return [LazyFrame]
3358
3362
def set_sorted (
You can’t perform that action at this time.
0 commit comments