+ 1
am stuck here
We have a csv file called people.csv. The data has three columns: Name, Country, Gender. It looks as follows: Name, Country, Gender Maria, USA, female Davit, Armenia, male Write the code to load the data as a pandas DataFrame and then print a pandas Series of just the Name column. df = pd.() print(df[]) 'Gender' 'Name' read 'people.csv' 'Country' read_csv
4 Answers
+ 9
NIXON ODIWUOR , your "trial" will not run. You should go in detail for pandas module, before going forward here. I also can not see if you are familiar with python basics. If not, it is recommended to work through the python tutorial from sololearn.
+ 2
read_csv, people.csv, Name
this is correct answer
0
Tag this question with Python Pandas please, up there where it says 'n/a' ā
0
The file people.csv contains the ages and heights of people.
Fill in the blanks to read the data to a DataFrame and create a bar chart showing the average height for each age.
df = pd.read_csv("people.csv")
df.set_index('age', inplace=True)
df = df.groupby('age')['height'].
?????()
df.plot(kind="bar")
What element should be in this code?