1import pandas as pd
2import io
3import requests
4url="https://raw.githubusercontent.com/cs109/2014_data/master/countries.csv"
5s=requests.get(url).content
6c=pd.read_csv(io.StringIO(s.decode('utf-8')))
7
1you should be in the same dir as .py file
2
3df = pd.read_csv('your_file_name.csv')