Turn numbers into categories with the Pandas 'cut' method

preview_player
Показать описание
How can you turn numeric data into categorical data? Pandas provides us with a simple solution, namely the "cut" method. In this video, I demonstrate how "cut" works, and compare it with the manual creation of categories.
Рекомендации по теме
Комментарии
Автор

Your passion is contagious! I came here for the pandas cut tutorial, but I also got a motivation boost. Keep up the good work 💪

faustopf-.
Автор

Great vid! Was looking for such comprehensive explanation on .cut method.

vitoslav
Автор

Exactly what I was looking for, thanks!

oguve
Автор

great explanation, that helps me a lot, thanks!

MrTkBL
Автор

This tutorial will be of immense help. I have a derived dataframe that I have been trying to categorize using python, can I apply the cut method to the entire dataframe?


Thank you, Sir

moxieable
Автор

pd.cut() and it's not supposed to be complicated

raymondchougam