Pandas Series.unique() vs Series.cat.categories
In this tutorial, we will look at the difference between the Pandas Series.unique() function and the Pandas Series.cat.categories attribute for a category type column. Difference between Pandas Series.unique() and Series.cat.categories The key difference is that, the pandas Series.unique() function gives us the unique value occurring in the data whereas the pandas.cat.categories property returns the possible […]
Pandas Series.unique() vs Series.cat.categories Read More »










