Data Manipulation: Handling the dataframe column names in Pandas | Renaming the column names

preview_player
Показать описание
The next few set of videos will be discussing about Data Analysis using Pandas. This video is about renaming the dataframe column names using the pandas.

The dataset used in the demo and the python notebook files can be found in the below Github Repository:

Connect with me here:

Subscribe to my channel:
Рекомендации по теме
Комментарии
Автор

Hi,
I had a boolean column with True-False. I converted that to True column with 1 and 0 using get_dummies.Now, I want to rename the column name from 'True' to 'Is_Subscribed_True' using rename().

but this doesn't rename the column.
can you please help me?

swapnavivek
Автор

How do you rename elements within a column. For example I have a column with entries To Be Deleted & To Be Kept. Need to change these to Delete and Keep so I don't have issues when in pandas when filtering.

mhla