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
I get a TypeError when fitting a categorical column.
import pandas as pd from rdt import HyperTransformer df = pd.DataFrame({'a': ['a', 'b', 'c']}) df.a = df.a.astype('category') ht = HyperTransformer() ht.fit(df)
TypeError: Cannot interpret '0 a 1 b 2 c Name: a, dtype: category Categories (3, object): ['a', 'b', 'c']' as a data type
The text was updated successfully, but these errors were encountered:
Make HyperTrasformer work well with dtype category (#124)
6a10953
Merge pull request #127 from sdv-dev/issue-124-dtype-category-error
200dc56
Make HyperTrasformer work with dtype category (#124)
csala
Successfully merging a pull request may close this issue.
Description
I get a TypeError when fitting a categorical column.
What I Did
TypeError: Cannot interpret '0 a 1 b 2 c Name: a, dtype: category Categories (3, object): ['a', 'b', 'c']' as a data type
The text was updated successfully, but these errors were encountered: