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

Unable to profile data #88

Open
grechasneak opened this issue Mar 23, 2021 · 1 comment
Open

Unable to profile data #88

grechasneak opened this issue Mar 23, 2021 · 1 comment
Labels
wontfix This will not be worked on

Comments

@grechasneak
Copy link

Hello I have the following data frame.
image

I am calling it using
imputed_data, pre_prc = de_obj.profile(hourly, impute_only=True)

and getting the following error.
{'success': False,
'ErrorMessage': "ufunc 'isnan' not supported for the input types, and the inputs could not be safely coerced to any supported types according to the casting rule ''safe''"}

I have been trying to figure it out, but no avail. Any help would be much appreciated. Thanks!

@sayanchk
Copy link
Collaborator

sayanchk commented Mar 24, 2021

@grechasneak The most possible reason for this error is that the 'raw' column is of type str. The 'raw' column needs to be a numeric column in order to perform any imputation.

You can try casting the column to float before profiling, i.e. hourly['raw'] = hourly['raw'].astype(np.float)

@sayanchk sayanchk added the wontfix This will not be worked on label Oct 23, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
wontfix This will not be worked on
Projects
None yet
Development

No branches or pull requests

2 participants