upload init.py

This commit is contained in:
Sebastian Wałęsa 2022-04-03 12:26:46 +02:00
parent 4676fc2306
commit ad6b0bf327

12
init.py Normal file
View File

@ -0,0 +1,12 @@
#!/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)