how to make a dataframe from reversed dataframe code example
Example 1: reverse pd based on index
data.iloc[::-1]
Example 2: reverse pd based on index
data.reindex(index=data.index[::-1])
data.iloc[::-1]
data.reindex(index=data.index[::-1])