datatable.codes()

Added in version 1.1.0

Get integer codes for categorical data.

Parameters

cols
FExpr

Input categorical data.

return
FExpr

f-expression that returns integer codes for each column from cols.

except
TypeError

The exception is raised when one of the columns from cols has a non-categorical type.