Make a copy of this object.
Names, dtype, levels and codes can be passed and will be set on new copy.
Kept for compatibility with 1-dimensional Index. Should not be used.
Notes
In most cases, there should be no functional difference from using deep
, but if deep
is passed it will attempt to deepcopy. This could be potentially expensive on large MultiIndex objects.
Examples
>>> mi = pd.MultiIndex.from_arrays([['a'], ['b'], ['c']]) >>> mi MultiIndex([('a', 'b', 'c')], ) >>> mi.copy() MultiIndex([('a', 'b', 'c')], )
RetroSearch is an open source project built by @garambo | Open a GitHub Issue
Search and Browse the WWW like it's 1997 | Search results from DuckDuckGo
HTML:
3.2
| Encoding:
UTF-8
| Version:
0.7.4