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

Error while running make_pipeline_from_data_check_output while applying data checks suggestion #1621

Open
sainiudit opened this issue Jan 25, 2023 · 2 comments
Labels
bug Something isn't working

Comments

@sainiudit
Copy link

actions_pipeline = make_pipeline_from_data_check_output(problem_type, messages)
data_df, y = actions_pipeline.fit(data_df, target)

#################################################
Error Message:
File /anaconda/envs/azureml_py310_sdkv2/lib/python3.10/site-packages/woodwork/logical_types.py:475, in IntegerNullable.transform(self, series, null_invalid_values)
473 if null_invalid_values:
474 series = _coerce_integer(series)
--> 475 return super().transform(series)

File /anaconda/envs/azureml_py310_sdkv2/lib/python3.10/site-packages/woodwork/logical_types.py:76, in LogicalType.transform(self, series, null_invalid_values)
74 series = series.astype(new_dtype)
75 except (TypeError, ValueError):
---> 76 raise TypeConversionError(series, new_dtype, type(self))
77 return series

TypeConversionError: Error converting datatype for LoanAmount from type float64 to type Int64. Please confirm the underlying data is consistent with logical type IntegerNullable.
Screenshot 2023-01-25 at 8 18 04 PM

@sainiudit sainiudit added the bug Something isn't working label Jan 25, 2023
@sainiudit
Copy link
Author

version of library:

import evalml, woodwork
print("evalml : ",evalml.version)
print("woodwork : ",woodwork.version)

evalml : 0.64.0
woodwork : 0.21.2

@gsheni
Copy link
Contributor

gsheni commented Jan 25, 2023

@sainiudit would you to provide us with the dataset you used? Or a sample of the dataset? We would like to reproduce this error.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

2 participants