Pandas – Change Column Type to Category
In this tutorial, we will look at how to convert a column in a pandas dataframe to the category type with the help of some examples. How to convert object type to category in Pandas? You can use the Pandas astype() function to convert the data type of one or more columns. Pass “category” as […]
Pandas – Change Column Type to Category Read More »










