Question: Inspect the code under this section, then add a cell to: 1 . Create a new dictionary, name it your firstname where firstname _ fruits

Inspect the code under this section, then add a cell to:
1. Create a new dictionary, name it your firstname where firstname _fruits is your first
name.
2. Add four items to the dictionary with names of your favorite fruits as keys and the
respective color as values.
3. Convert the dictionary into a pandas series named firstname_f.
4. Print out the second and third items.
5. Create a sub series named firstname_f2 containing the second and third items.
6. Printout from the sub series the last item using iloc.

Step by Step Solution

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Databases Questions!