Replace and Rename

In this lesson, functions to replace values and renaming indexes are discussed.

Replace values

The pandas package provides built-in functions to replace values in a Series and a DataFrame. The replace() function is called by both Series and DataFrame objects to execute this task.

Get hands-on with 1200+ tech skills courses.