Learn practical skills, build real-world projects, and advance your career
import pandas as pd
from urllib.request import urlretrieve

urlretrieve('https://gist.githubusercontent.com/aakashns/28b2e504b3350afd9bdb157893f9725c/raw/994b65665757f4f8887db1c85986a897abb23d84/countries.csv', 
            'countries.csv')
('countries.csv', <http.client.HTTPMessage at 0x1140866ec70>)
countries_df = pd.read_csv('countries.csv')
countries_df

Q1: How many countries does the dataframe contain?