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