-
Notifications
You must be signed in to change notification settings - Fork 234
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
Profiler fails when datetime or numeric types are detected #641
Comments
Issue-Label Bot is automatically applying the label Links: app homepage, dashboard and code for this bot. |
@arpit1997 you are right. The data inference process is done after the general starts are calculated. The hist needs to know the data type to correctly calculate the hist. I will push a fix tomorrow. Thanks for the report. |
@argenisleon Any update on this? |
The bug is fixed in this branch https://github.com/ironmussa/Optimus/tree/feature/profiler_improvements I have not properly tested it yet. Tomorrow I will merge it to master |
@arpit1997 This is now in master and available in a new release |
Thank you. I can now start with #632
…On Thu, 29 Aug 2019, 12:06 Argenis Leon, ***@***.***> wrote:
@arpit1997 <https://github.com/arpit1997> This is now in master and
available in a new release
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
<#641>,
or mute the thread
<https://github.com/notifications/unsubscribe-auth/ACRP5RWXMENF7NZWFVDI7ULQG5U5XANCNFSM4IPKGVEQ>
.
|
When running the profiler with
infer=True
with actual columns having datetime and integer types it fails with traceback attached.I am attaching a file which I experimented with.
crimes-in-boston.zip
Traceback:
I believe the error at https://github.com/ironmussa/Optimus/blob/master/optimus/helpers/columns_expression.py#L93, It always goes to string datatype if statement. function
is_column_a
takes df, column_name and dtypes as args. df have all types as string and it matches with string only.@argenisleon Correct me if I am wrong.
The text was updated successfully, but these errors were encountered: