visions.types.ordinal
- class visions.types.ordinal.Ordinal[source]
Ordinal implementation of
visions.types.type.VisionsBaseType
.Examples
>>> import pandas as pd >>> import visions >>> x = pd.Series([1, 2, 3, 1, 1], dtype='category') >>> x in visions.Ordinal True