Skip to content

Instantly share code, notes, and snippets.

@00krishna
Created April 22, 2014 02:24
Show Gist options
  • Save 00krishna/11163358 to your computer and use it in GitHub Desktop.
Save 00krishna/11163358 to your computer and use it in GitHub Desktop.
import csv to python by pandas
from pandas import read_csv
from urllib import urlopen
page = urlopen("http://econpy.pythonanywhere.com/ex/NFL_1979.csv")
df = read_csv(page)
print df
print df['Line']
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment