We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
core.ops has a check elif is_categorical_dtype(y) and not is_scalar(y):.
core.ops
elif is_categorical_dtype(y) and not is_scalar(y):
AFAICT the only case with is_categorical_dtype that is scalar is "category". Am I missing a non-trivial case?
is_categorical_dtype
"category"