Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR PYTHON

reset index python

>>> df.reset_index()
    index   class  max_speed
0  falcon    bird      389.0
1  parrot    bird       24.0
2    lion  mammal       80.5
3  monkey  mammal        NaN
Source by pandas.pydata.org #
 
PREVIOUS NEXT
Tagged: #reset #index #python
ADD COMMENT
Topic
Name
3+6 =