Data Science and ML: Using If-Else Condition on Pandas Dataframe

preview_player
Показать описание
How to use multiple if else condition on Pandas Dataframe to create new Features using various methods

#Python Pandas
# Data Science
#Use if-Else Python
# Use Pandas If-Else
# Multiple if-else
Рекомендации по теме
Комментарии
Автор

Thank you, you are my hero without a cape. 🙂

johangv
Автор

Hello i need help, I have too many condtions. for eg : there are 630 districts, I need to classify them into tier 1, tier 2, tier3, tier4, tier5 like this. Even if I use np.select there will be too many conditions. So how can I do it? Please help

akashmanojchoudhary
Автор

If you want to create a new column on DF when apply function is not usefull

gabgio
welcome to shbcf.ru