FAQ: Modifying DataFrames - Renaming Columns II

This community-built FAQ covers the “Renaming Columns II” exercise from the lesson “Modifying DataFrames”.

Paths and Courses
This exercise can be found in the following Codecademy content:

Data Science

Data Analysis with Pandas

FAQs on the exercise Renaming Columns II

Join the Discussion. Help a fellow learner on their journey.

Ask or answer a question about this exercise by clicking reply (reply) below!

Agree with a comment or answer? Like (like) to up-vote the contribution!

Need broader help or resources? Head here.

Looking for motivation to keep learning? Join our wider discussions.

Learn more about how to use this guide.

Found a bug? Report it!

Have a question about your account or billing? Reach out to our customer support team!

None of the above? Find out where to ask other questions here!

Hi all,

In the context of this exercise, when should I use { instead of ( and why?

I have only started seeing { being used in this exercise and i am not sure when i should be using this and why isnt ( working?

many thanks

I think before they used [ next to ( if that’s what you mean with }. But I’m not sure why they use those now.