Last active
May 28, 2016 21:47
-
-
Save cpard/87c4424072621fb2eb14a4d13c2c358b to your computer and use it in GitHub Desktop.
Read the name data from US Census into Pandas DataFrames
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
fNames = padas.read_csv("./femalenames", | |
delim_whitespace=True, header=None,names=['name','freq','cFreq','rank'],na_values=["NaN"], keep_default_na=False) | |
mNames = padas.read_csv("./malenames", | |
delim_whitespace=True, header=None,names=['name','freq','cFreq','rank']) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment