-
Notifications
You must be signed in to change notification settings - Fork 0
New issue
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
💫 Categorical dtypes #5
Comments
In Vaex there are two ways of constructing a categorical column:
For now the implementation works for the first possibility and gives an error for the second.
See more in the research Notebook. There is also some confusion in the categorical columns generated by
|
The only thing left that needs to be done is to implement |
One question on categorical dtypes came up while working on categorical metadata - #10 (comment): What needed to be done also is to separately define the dtype for categorical columns (in Vaex dtype of a categorical column is the dtype of data itself). I am not sure if the default is correct: (_DtypeKind.CATEGORICAL, 64, 'u', '=') vaex-df-api-implementation/notebook_research/vaex_implementation_v11.py Lines 288 to 292 in 1002192
Ralf pointed me to an open issue in the general dataframe-api: data-apis/dataframe-api#49 (comment) |
Adapt the Dataframe protocol implementation for Vaex to work with categorical columns.
The text was updated successfully, but these errors were encountered: