Data School - 🐼🤹♂️ pandas trick #72: Need to convert a column from continuous to categorical? ➡️ Use cut() to specify bin edges ➡️ Use qcut() to specify number of bins (creates
![python - How to convert categorical variable to numerical in pandas without increasing size of data? - Stack Overflow python - How to convert categorical variable to numerical in pandas without increasing size of data? - Stack Overflow](https://i.stack.imgur.com/DKj53.png)
python - How to convert categorical variable to numerical in pandas without increasing size of data? - Stack Overflow
![python - How to convert an object in pandas to category or an int type to numerical - Stack Overflow python - How to convert an object in pandas to category or an int type to numerical - Stack Overflow](https://i.stack.imgur.com/qN5fJ.jpg)