+ 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

14th Oct 2020, 2:24 PM
NIXON ODIWUOR
NIXON ODIWUOR - avatar
4 Respostas
+ 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.
14th Oct 2020, 6:26 PM
Lothar
Lothar - avatar
+ 2
read_csv, people.csv, Name this is correct answer
10th Jul 2022, 4:00 PM
PARSA LAVANYA
0
Tag this question with Python Pandas please, up there where it says 'n/a' ☝
14th Oct 2020, 3:09 PM
Ipang
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?
13th May 2023, 11:31 AM
Тімофееф Сергій
Тімофееф Сергій - avatar