Menu
×
×
Correct!

Exercise:

Insert the correct syntax to add the labels "x", "y", and "z" to a Pandas Series.

pd.Series(mylist, index = ["x", "y", "z"])
pd.Series(mylist, index = ['x', 'y', 'z'])
pd.Series(mylist, index=["x","y","z"])
pd.Series(mylist, index=['x','y','z'])
pd.Series(mylist, index=["x", "y", "z"])
pd.Series(mylist, index=['x', 'y', 'z'])
pd.Series(mylist, index = ["x","y","z"])
pd.Series(mylist, index = ['x','y','z'])

Not Correct

Click here to try again.

Correct!

Next ❯
pd.Series(mylist, )

  
  
  




Go to w3schools.com
Reset Score
Close This Menu

 

PANDAS Series
PANDAS DataFrame
PANDAS Cleaning
PANDAS Correlations
PANDAS Plotting

×

Reset the Score?

This will reset the score of ALL 22 exercises.

Are you sure you want to continue?



×

Congratulations!

You have finished all 22 PANDAS exercises.

Share your score: