dataframe-api
dataframe-api copied to clipboard
Example of non-dictionary categorical?
Hi
https://data-apis.org/dataframe-protocol/latest/API.html says
Returns the dictionary with description on how to interpret the data buffer: - "is_ordered" : bool, whether the ordering of dictionary indices is semantically meaningful. - "is_dictionary" : bool, whether a mapping of categorical values to other objects exists - "categories" : Column representing the (implicit) mapping of indices to category values (e.g. an array of cat1, cat2, ...). None if not a dictionary-style categorical.
From having a looked at a few implementations, is_dictionary always seems to be hard-coded to True? Is there any example where it's False?