How do I create dummy variables in pandas?

preview_player
Показать описание
If you want to include a categorical feature in your machine learning model, one common solution is to create dummy variables. In this video, I'll demonstrate three different ways you can create dummy variables from your existing DataFrame columns. I'll also show you a trick for simplifying your code that was introduced in pandas 0.18.

SUBSCRIBE to learn data science with Python:

JOIN the "Data School Insiders" community and receive exclusive rewards:

== RESOURCES ==

== LET'S CONNECT! ==
Рекомендации по теме
Комментарии
Автор

I really like that he explains the extra attributes and the things that people gloss over. For example, the : and axis. I'm a newbie, so that little stuff was useful to me.

haciendadad
Автор

Thankyou for illustrating it so well, i was not clear with the reasoning behind dropping the first column when using the dummies. But now i have clear idea about that

Raaajzzz
Автор

very easy to follow and understand, in contrast with many other tutorials I found, great and many thx

dy
Автор

Yours videos are making me passionate about the data science career again, also they are making my first Job on data analytics so much easier. Thank you so much!

Negrni
Автор

These are great tutorials! Finally found a clear, concise explanation for why your code is written the way it is :)

ashwinsingh
Автор

I am addicted to your videos ...I want to re do my old assignments with all the tricks :)

manasa
Автор

Hey I'm new to Python and I just wanted to say that your videos are super clear and easy to understand! This has been a great help for me! Teaching code is clearly your calling

alensadventures
Автор

Wow!!! This is my first video watching you teach. it's crystal clear!!! Looking forward to more video!

brendensong
Автор

Best tutorial video on Dummy variable.

ajaykushwaha-jemw
Автор

Brother I couldn't get around using categorical variables even after watching so many tutorials and decided to not use them in the model.But you made it so easy.Thanks a lot for such a wonderful explanation:p

AshishSharma-pmdc
Автор

Dude seriously, you just saved me a lot of work.

LS-rwhn
Автор

This was so useful! i didn't know your channel before I googled how to make dummies in pandas. Definitely going to check out your other videos :)

nadineprins
Автор

Hello Kevin. I am a big fan of your work.Being a big user of R, your tutorials have made me like Python so much that I have completely switched to Python at work now. It would be very helpful if you did a video series each on other basic packages in python like numpy, matplotlib, seaborn, stats models and bokeh.Learning from your videos is so much easier and less time consuming. Currently I am working on my internship during my course and I use atleast one of your tips daily at work.Thanks again. Hoping to see more good content like

rohitjacob
Автор

most underrated Panda tutor / course. absolutely amazing! thanks for sharing Kevin!

PatrickBateman
Автор

Easy to understand, straight to the point thank you for your tutorials they have been of great help

flutterflowhack
Автор

Thanks for showing how to add this to the dataframe, very helpful!

seansantiagox
Автор

Amazingly clear explanation!!! Thank you!!

jwilliams
Автор

Love all you videos. Clear, easy to follow, and great tone of voice. Thanks!!

sophiar
Автор

Hey, this was great! Just implemented this on a live project. You, do not stop making videos, please. Thanks.

anirbanaws
Автор

Like usual... I will try to understand some ML concept which is not clear for me. I make the same way: clik, clik, clik between movies from youtubers - most of them make movies from the same source, without thinking, without understand. And then finally, once again, I'm on your channel and you explain me everything with clear and slow. Thanks for your amazing job!

Dnte-RN