Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR PYTHON

descending python dataframe df

#reverse everything
df = df.sort_index(ascending=False)
df[::-1]

https://stackoverflow.com/questions/20444087/right-way-to-reverse-a-pandas-dataframe
 
PREVIOUS NEXT
Tagged: #descending #python #dataframe #df
ADD COMMENT
Topic
Name
7+5 =