Closed joaocym closed 3 years ago
@joaocym
I just resolved pretty much exactly this error, so hopefully my solution can help you too.
I found that the pandas quantile function was throwing this error on a column containing an ID feature (typically something like 12345648) that Pandas had inferred to be dtype Int64. I'm guessing the issue was that this column contained a few values showing up as df[col] = df[col].astype(object)
, and then profiling worked just fine!
So, my suggestion to you is to inspect your data for any cols forcibly cast as a type they don't want to be (particularly int cols, looks like), or containing values that don't fit the type, and see if you can fix that.
OS: Windows 10
Environment:
Code to reproduce the error:
Traceback: