Data Wrangling Solutions — Convert Continuous Variables Into Categorical

A one-step solution to bin the numerical variables.

Ujjwal Dalmia

--

Photo by Paweł Czerwiński on Unsplash

During the data preprocessing stage, we often end up binning continuous variables into logical groups. When I started with my data science journey, I did it by writing custom If-Else conditions. Binning variables through this approach is time-consuming and…

--

--