-
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
get_rejected_variables
missing after release of v2.4.0
#315
Comments
Hi Mani, There are three different observations in this one issue: rejected variables are missing, documentation could be more extensive and a bug in bayesian blocks. It would be good to split them into separate issues (a feature request for documentation, a bug report for the bayesian blocks, please make sure to include a dataset). We then can dedicate this issue to the rejected variables. You have a good point that the removal of the
The v2.4.0 release fixes these issues. The same functionality can now be obtained using: |
get_rejected_variables
missing after release of v2.4.0
Hi Simon, I'll try to split these but also will answer quickly to some of the points.
comes either from your config or issues/discussions made previously, see #222, #227, #245, #293. So there might not be something to report, I just added that note for myself so I follow the right config. |
I'll request docs for the get rejected variable aspect. And also for removal of these parameters, that worked in the previous version:
|
With regards to reinstating get rejected variables, it's better to keep the same name and internally make the above call as you suggested so +1 there: def get_rejected_variables(threshold=0.5):
return profile.get_description()['messages'] (a contrived example) |
…ibility and temporary solution for ydataai#319) Include __repr__ on message class (ydataai#315).
Describe the bug
My old code which used to work on a version prior to
v2.4.0
now does not work as it uses parameters and methods that have been removed/deprecated in this version.One of them is access to the list of
Rejected variables
- this is invaluable for data-processing and other reasoning activities.I didn't see it mentioned in the release notes or in the docs - that they are removed and if there are alternative ways to accomplish it
How would we do this in the new version? Process the report as a
JSON
file and then access the rejected variables from there? Any other methods?The docs are good but would be great to see a format like this, https://scikit-learn.org/stable/modules/generated/sklearn.linear_model.LinearRegression.html where we see a list of all parameters and then potentially examples to follow.
To Reproduce
Version being used: v2.4.0 (worked in the previous version)
Try running the below with the new version of
pandas-profiling
:and then also try this:
both will fail to compile/run with errors!
The text was updated successfully, but these errors were encountered: