Learn practical skills, build real-world projects, and advance your career
from urllib.request import urlretrieve
italy_covid_url = 'https://gist.githubusercontent.com/aakashns/f6a004fa20c84fec53262f9a8bfee775/raw/f309558b1cf5103424cef58e2ecb8704dcd4d74c/italy-covid-daywise.csv'
urlretrieve(italy_covid_url, 'italy-covid-daywise.csv')
('italy-covid-daywise.csv', <http.client.HTTPMessage at 0x7f26c01778e0>)
!pip install panda
Collecting panda Downloading panda-0.3.1.tar.gz (5.8 kB) Requirement already satisfied: setuptools in /opt/conda/lib/python3.8/site-packages (from panda) (49.6.0.post20201009) Requirement already satisfied: requests in /opt/conda/lib/python3.8/site-packages (from panda) (2.24.0) Requirement already satisfied: urllib3!=1.25.0,!=1.25.1,<1.26,>=1.21.1 in /opt/conda/lib/python3.8/site-packages (from requests->panda) (1.25.11) Requirement already satisfied: certifi>=2017.4.17 in /opt/conda/lib/python3.8/site-packages (from requests->panda) (2020.6.20) Requirement already satisfied: chardet<4,>=3.0.2 in /opt/conda/lib/python3.8/site-packages (from requests->panda) (3.0.4) Requirement already satisfied: idna<3,>=2.5 in /opt/conda/lib/python3.8/site-packages (from requests->panda) (2.10) Building wheels for collected packages: panda Building wheel for panda (setup.py) ... done Created wheel for panda: filename=panda-0.3.1-py3-none-any.whl size=7256 sha256=453c47da3a8120bae63fbe839269cff5f4662cad840bdd52cb011735bdf78a78 Stored in directory: /home/jovyan/.cache/pip/wheels/e9/b8/cc/e2f18ad77320b551f1b7435014844a9cc3e9d6185cb93a3a31 Successfully built panda Installing collected packages: panda Successfully installed panda-0.3.1
import pandas as pd
covid_df=pd.read_csv('italy-covid-daywise.csv')