- DataFrame.merge_sorted(other: DataFrame, key: str) DF #
Take two sorted DataFrames and merge them by the sorted key.
The output of this operation will also be sorted. It is the callers responsibility that the frames are sorted by that key otherwise the output will not make sense.
The schemas of both DataFrames must be equal.
Other DataFrame that must be merged
Key that is sorted.