A guide to binning data with python (numeric and categorical)

Published: 09 February 2022
on channel: Analytics with Adam
2,566
38

In this video, we discuss binning data with python using some nice python pandas functionality.

We start by binning categorical data with python by using the pd.getdummies function which facilitates one-hot encoding and the pd.Categorical function which allows a ranked categorical bin that can be easily treated as a numeric.

To assist with the binning of numerical data in python we used the pd.cut function and the pd.qcut function which converts numeric data to labeled categories in order to decrease dimensionality.

The notebook used for this video is available from github from the following link https://github.com/SuperDataWorld/Pyt...


On this page of the site you can watch the video online A guide to binning data with python (numeric and categorical) with a duration of hours minute second in good quality, which was uploaded by the user Analytics with Adam 09 February 2022, share the link with friends and acquaintances, this video has already been watched 2,566 times on youtube and it was liked by 38 viewers. Enjoy your viewing!