-
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
n_rows and n_columns must be positive integer. (Same as #853 and #836) #883
Comments
This is indeed a bug, a PR is very much welcome 👍 |
@sbrugman I will give it my best shot and let you know what I find! |
@sbrugman this seems to be fixed in the current pandas-profiling version on GitHub (3.1.1). I've been playing around with it, but I just cloned the code and was trying to recreate examples when I noticed it works. Here's the example from #853 that now works but fails in 3.1.0. Let me know if you need anything else to close this issue |
I have the same problem as this, and I fixed it by the steps below. uninstall pandas profiling let me know if it works for you |
@WillTirone I installed pandas profiling using Relevant versions from
I can't share my dataset so I'm not of much help. Maybe some of the others which have reported this #836 can be asked to test version 3.1.1? |
A quick follow up. I just tried version 3.0.0 and it still didn't work on my dataset. The reason it doesn't work on my dataset might be more unrelated to the bug. Before I get the |
I hit the same error with the titanic dataset. !pip show pandas-profiling Name: pandas-profiling Here is the titanic dataset url, I am using: https://raw.githubusercontent.com/prodramp/publiccode/master/datasets/titanic.csv data_source_url = "https://raw.githubusercontent.com/prodramp/publiccode/master/datasets/titanic.csv" |
Instead of using to_widgets use to_notebook_iframe(). Hope it works for you |
Describe the bug
This is similar to #853 and #836, but posting anyway just as another example with version info and a screenshot in Jupyter Notebook. Feel free to mark as a duplicate if desired.
When attempting the basic profile.to_widgets() example in the README, I encounter the attached error that n-rows and n-columns must be positive integers.
To Reproduce
follow the example in picture above
Version information:
Windows 10
Python: 3.8.5
Jupyter Notebook: 6.1.4
pandas-profiling: 3.1.0
Additional context
Just wanted to throw this out there since I've never used the profiling report and it seems the basic example is broken - I could be doing something obviously wrong though.
Happy to attempt a bug fix and PR if this is an actual issue. Let me know what else you all might need.
The text was updated successfully, but these errors were encountered: