Skip to content

Instantly share code, notes, and snippets.

@willyhagi
Created February 28, 2019 15:47
Show Gist options
  • Save willyhagi/eb4c32139ba98d7ddc776ec6ba4031af to your computer and use it in GitHub Desktop.
Save willyhagi/eb4c32139ba98d7ddc776ec6ba4031af to your computer and use it in GitHub Desktop.
>>> mbh99 = mbh99.rename(index=str,
... columns={0:'Years', 1: 'Temperature'})
>>> mbh99.columns
Index(['Year', 'Temperature'], dtype='object')
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment