As part of #22811 I added a sort parameter to the difference set operation with a default of True. The other set operations do not have this parameter but some of them sort by default if possible. Should we add a sort parameter to the other set operations too if possible for consistency?
TODO:
As part of #22811 I added a
sortparameter to thedifferenceset operation with a default ofTrue. The other set operations do not have this parameter but some of them sort by default if possible. Should we add asortparameter to the other set operations too if possible for consistency?TODO:
sortoption. TimedeltaIndex.intersection has nosortoption. #24966sortparameter forRangeIndex.union(ENH: Add sort parameter to RangeIndex.union (#24471) #25788)sort=Trueand deprecatesort=Nonein future release?