We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Often we have categoricals which are created by incrementing an int inside some numba function. where:
def SequentialCat(ids) -> rt.Cat: return rt.Categorical(ids, categories=np.arange(1, ids.max() + 1, dtype=np.int64))
This can work for any categorical that is in some finite [0, N] range that fits in memory, doesn’t need to be fully dense.
The text was updated successfully, but these errors were encountered:
No branches or pull requests
Often we have categoricals which are created by incrementing an int inside some numba function.
where:
This can work for any categorical that is in some finite [0, N] range that fits in memory, doesn’t need to be fully dense.
The text was updated successfully, but these errors were encountered: