Question

Some names gain/ose popularity because of cultural phenomena such as a political figure coming to power. Below, we plot the p
Use the rename() method to rename the columns of fruit_info_original so they begin with capital letters. Set this new datafra



Question 2 Use the .drop() method to drop both the ranki and rank2 columns you created. (Make sure to use the axis parameter

both question need to be solved
0 0
Add a comment Improve this question Transcribed image text
Answer #1

Answer:- It seems you have problem with Question 3 as grader fails.

In question 2 your answer is correct and grader checked it successfully.

I found mistake in Question 3 code. That is you should not assign rename() function result to other variable as you have mentioned inplace=True. Please remove inplace=True so that your code works correctly and result is stored in fruits_info_caps variable.

fruit_info_caps = fruit_info_original.rename(columns = {"color":"Color" , "fruit":"Fruit"})

please comment down if have any doubts

Thank you....

Add a comment
Know the answer?
Add Answer to:
both question need to be solved Some names gain/ose popularity because of cultural phenomena such as...
Your Answer:

Post as a guest

Your Name:

What's your source?

Earn Coins

Coins can be redeemed for fabulous gifts.

Not the answer you're looking for? Ask your own homework help question. Our experts will answer your question WITHIN MINUTES for Free.
Similar Homework Help Questions
ADVERTISEMENT
Free Homework Help App
Download From Google Play
Scan Your Homework
to Get Instant Free Answers
Need Online Homework Help?
Ask a Question
Get Answers For Free
Most questions answered within 3 hours.
ADVERTISEMENT
ADVERTISEMENT
ADVERTISEMENT