Skip to content
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

Support for pandas dataframes in workflows #304

Open
h2o64 opened this issue Mar 13, 2022 · 1 comment
Open

Support for pandas dataframes in workflows #304

h2o64 opened this issue Mar 13, 2022 · 1 comment

Comments

@h2o64
Copy link

h2o64 commented Mar 13, 2022

Currently, the Classifier and Regressor workflows don't accept pandas dataframes as inputs.

Indeed in train_submission the arrays are being indexed with slices which selects columns instead of rows leading to the following error message

KeyError: "None of [Int64Index([ 256,  127,  753,  439,  825, 1167,  786, 1689, 1615,  675,\n            ...\n             721, 1064,  696, 1122,  632, 1103,  406, 1029, 1750,  975],\n           dtype='int64', length=1451)] are in the [columns]"
@albertcthomas
Copy link
Collaborator

Usually a pandas data frame is expected as input of the feature extractor but a numpy array is expected as input of the classifier/regressor.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants