Closed gus-morales closed 2 years ago
Thanks for reporting! Will try to reproduce this.
@gus-morales The syntax for configuration has changed (the version increase indicates a breaking change). Are you using the new syntax? The validation errors should actually be a feature, not a bug.
The docs provide examples and descriptions of how to configure popmon
. The full range of options can be found in the config.py
.
Specifically for show_stats
the code would look somewhat like this:
from popmon.config import Settings
settings = Settings()
settings.report.show_stats = ["distinct*",
"filled*",
"nan*",
"mean*",
]
df.pm_stability_report(settings=settings)
In order to clarify this in the future we have updated the documentation: https://popmon.readthedocs.io/en/latest/configuration.html#using-settings-for-configuration https://popmon.readthedocs.io/en/latest/popmon.html#module-popmon.config
With version 1.0.0, when using custom settings in
df.pm_stability_report()
likeshow_stats
, I get an error stating such option is not allowed:ValidationError: 2 validation errors for Settings
I couldn't reproduce it when using
popmon==0.9.0
.