-
-
Notifications
You must be signed in to change notification settings - Fork 18.4k
ENH: Categorical serialized #7621
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
Comments
Stata Support for categoricals-to-value-labels-conversion would be fantastic, but I would already be happy, if category dtype is captured (pandas/io/stata.py#L1262) and coerced to string. Guess this requires also to either fix |
cc @bashtage, interested? |
I'll have to take a look at how hard it will be - haven't used Categoricals, so extra hurdle. |
Add support for exporting DataFrames containing categorical data. closes pandas-dev#8633 xref pandas-dev#7621
closing, you cannot directly serialize a Categroical in csv, but you can specify the dtype when reading. |
Currently df which include a categorical can be written to a hdf store and other on disc storage formats. For formats which include factors/categoricals, also ensure that such data is read into a categorical.
The text was updated successfully, but these errors were encountered: