-
Notifications
You must be signed in to change notification settings - Fork 12.9k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
chapter one / not understanding pd.read parameters #588
Comments
Hi @KhidirA Could you specify which notebook or better paste the code in |
@KhidirA exactly which parameter are you not able to understand can you show the code here and the exact line number . |
Hi @KhidirA , If I understand correctly you were confused about the arguments to the oecd_bli = pd.read_csv(datapath + "oecd_bli_2015.csv", thousands=',')
gdp_per_capita = pd.read_csv(datapath + "gdp_per_capita.csv",thousands=',',delimiter='\t',
encoding='latin1', na_values="n/a") This function loads a CSV file. Here's what the arguments mean:
If you search "pandas read_csv" on Google, you'll find this documentation page which explains these arguments as well as many others. Hope this helps. |
hey all
I'm trying to run the code example from chapter one in the book
I know it said I have to have an idea about the libraries (which I kind of do from a coursera machine learning course) but I failed to understand line 8
I know the first parameter if locating the file but what is the second one do?
also can anyone explain the next line too what are the parameters mean?
The text was updated successfully, but these errors were encountered: