CBSE Class 12 Informatics Practices Question 89 of 167

Python Pandas — I — Question 14

Back to all questions
14
Question

Question 14

The rename() always makes changes in the default dataframe.

Answer

False

Reason — If the inplace argument in the rename() function is set to True, then it makes changes in the default DataFrame. If it is set to False, then it returns a new DataFrame with the changes applied.