Skip to content

Instantly share code, notes, and snippets.

@StephenFordham
Created April 21, 2019 08:56
Show Gist options
  • Save StephenFordham/c3f0fe2d7ad7feb73960fda6c8d85cda to your computer and use it in GitHub Desktop.
Save StephenFordham/c3f0fe2d7ad7feb73960fda6c8d85cda to your computer and use it in GitHub Desktop.
changing_column
Table.columns
Index(['Unnamed: 0', 'Team', 'P', 'W', 'D', 'L', 'F', 'A', 'GD', 'Pts',
'Form'],
dtype='object')
Table.rename(columns={'Unnamed: 0':'Position'}, inplace=True)
Table.head()
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment