categorical.int8
categorical: out = int8 (C)
Convert categorical array to a int8 array.
out = int8 (C) returns a int8 array
indexing the categories in C. Categorical elements of undefined
category are returned as 0. Note that the returned category
indices saturate to intmax ('int8'), which is 127.
Source Code: categorical