-
Notifications
You must be signed in to change notification settings - Fork 1.7k
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
TraitError: n_rows and n_columns must be positive integer #836
Comments
I got the exact same error. My data is also sensitive. Python version: 3.7.11 |
I was seeing the same error when I was using |
Please provide a minimal reproducible example and the stack trace to find the root cause. |
You can reproduce this with this public dataset - https://liangfgithub.github.io/F21/Ames_data.csv when you run the code below, you see the following error:
When I replace |
This seems to be a bug in v3.1.0 release, |
I have the same problem as this, and I fixed it by the steps below.
let me know if it works for you |
Hi, just to notice you I've managed to reproduce the issue too. Also, the workaround for now is good :
|
The downgrade worked for me. Thanks. |
I am having the same issue. Also using |
I was also having the same issue but after using to_notebook_iframe() . it worked for me . But there is a fix for to_widgets also. But downgrade your pandas profiling version from 3.1.0 to 3.0.0. pip install pandas_profiling==3.0.0. Make sure your pandas version is 1.3.5 . Hope this helps |
Describe the bug
When running
profile.to_widgets()
on this error was generated when it tried to present the widget:TraitError: n_rows and n_columns must be positive integer
To Reproduce
The dataset it sensitive and cannot be shared.
Version information:
python 3.9.7
Click to expand Version information
The text was updated successfully, but these errors were encountered: