Skip to content

Instantly share code, notes, and snippets.

@sid321axn
Created August 26, 2020 05:06
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save sid321axn/d0c0e244f9009fa98e8baa82d984e272 to your computer and use it in GitHub Desktop.
Save sid321axn/d0c0e244f9009fa98e8baa82d984e272 to your computer and use it in GitHub Desktop.
# sorting the dataset in ascending order of date
data_frame = ind_exchange_data.sort_index(axis=1 ,ascending=True)
data_frame = data_frame.iloc[::-1]
data_frame.head()
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment