The CategoricalDtype
for this instance.
>>> cat = pd.Categorical(['a', 'b'], ordered=True) >>> cat ['a', 'b'] Categories (2, object): ['a' < 'b'] >>> cat.dtype CategoricalDtype(categories=['a', 'b'], ordered=True, categories_dtype=object)
RetroSearch is an open source project built by @garambo | Open a GitHub Issue
Search and Browse the WWW like it's 1997 | Search results from DuckDuckGo
HTML:
3.2
| Encoding:
UTF-8
| Version:
0.7.4