Pandas read_csv from url

The Solution to Pandas read_csv from url is


In the latest version of pandas (0.19.2) you can directly pass the url

import pandas as pd

url="https://raw.githubusercontent.com/cs109/2014_data/master/countries.csv"
c=pd.read_csv(url)

~ Answered on 2017-01-26 18:34:37


Most Viewed Questions: