DekGenius.com
Home
(current)
Dictionary
BOOKS
LYRICS
CHORD
SCRIPT & CODE EXAMPLE
Karaoke language
Search
Go
SCRIPT & CODE EXAMPLE
CODE EXAMPLE FOR PYTHON
pandas multiindex to single index
df.columns = df.columns.get_level_values(0)
Source by stackoverflow.com #
PREVIOUS
NEXT
Tagged:
#pandas
#multiindex
#single
#index
ADD COMMENT
Topic
COMMENT
Name
9+6 =
Submit