Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR PYTHON

panda get specific index in a MultiIndex

index_level_to_get = 0
df.index.get_level_values(index_level_to_get)
Source by pandas.pydata.org #
 
PREVIOUS NEXT
Tagged: #panda #specific #index #MultiIndex
ADD COMMENT
Topic
Name
5+5 =