Created
April 22, 2014 02:24
-
-
Save 00krishna/11163358 to your computer and use it in GitHub Desktop.
import csv to python by pandas
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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