pd.Index.union
¶
pandasIndex.union(other, sort=None)
Supported Arguments:¶
other
: can be an Index, Series, or 1-dim numpy array with a matching type for the Index
Supported Index Types
- NumericIndex
- StringIndex
- BinaryIndex
- RangeIndex
- DatetimeIndex
- TimedeltaIndex
Important
Bodo diverges from the Pandas API for Index.union() in several ways: duplicates are removed, the order of elements may be different, the shortcuts for returning the same Index are removed, and a NumericIndex is always returned instead of a RangeIndex.