ium_478839/init.py

13 lines
284 B
Python

#!/usr/bin/python
import pandas as pd
understat = pd.read_csv('understat.csv')
understat_per_game = pd.read_csv('understat_per_game.csv')
understat.rename( columns={'Unnamed: 0':'league'}, inplace=True)
understat.rename( columns={'Unnamed: 1':'year'}, inplace=True)