Jovian
⭐️
Sign In
In [9]:
!pip install jovian --upgrade --quiet
In [2]:
!pip install pandas --upgrade
Collecting pandas Downloading pandas-1.1.2-cp37-cp37m-manylinux1_x86_64.whl (10.5 MB) |████████████████████████████████| 10.5 MB 4.3 MB/s eta 0:00:01 |█████████ | 3.0 MB 4.3 MB/s eta 0:00:02 Collecting numpy>=1.15.4 Downloading numpy-1.19.2-cp37-cp37m-manylinux2010_x86_64.whl (14.5 MB) |████████████████████████████████| 14.5 MB 48.5 MB/s eta 0:00:01 Collecting pytz>=2017.2 Downloading pytz-2020.1-py2.py3-none-any.whl (510 kB) |████████████████████████████████| 510 kB 30.0 MB/s eta 0:00:01 Requirement already satisfied, skipping upgrade: python-dateutil>=2.7.3 in /srv/conda/envs/notebook/lib/python3.7/site-packages (from pandas) (2.8.1) Requirement already satisfied, skipping upgrade: six>=1.5 in /srv/conda/envs/notebook/lib/python3.7/site-packages (from python-dateutil>=2.7.3->pandas) (1.15.0) Installing collected packages: numpy, pytz, pandas Successfully installed numpy-1.19.2 pandas-1.1.2 pytz-2020.1
In [3]:
import pandas as pd
In [4]:
matches_raw_df = pd.read_csv('matches.csv')
In [5]:
matches_raw_df
Out[5]:
In [7]:
matches_raw_df.season.value_counts().sort_values()
Out[7]:
2009    57
2008    58
2017    59
2015    59
2019    60
2018    60
2016    60
2014    60
2010    60
2011    73
2012    74
2013    76
Name: season, dtype: int64
In [10]:
import jovian
In [ ]:
jovian.commit(files = ['matches.csv'])
[jovian] Attempting to save notebook..
In [ ]: