Skip to content
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

Improve multicheck interface #54

Open
ZaxR opened this issue Aug 28, 2019 · 0 comments · May be fixed by #74
Open

Improve multicheck interface #54

ZaxR opened this issue Aug 28, 2019 · 0 comments · May be fixed by #74
Labels
enhancement New feature or request help wanted Extra attention is needed

Comments

@ZaxR
Copy link
Owner

ZaxR commented Aug 28, 2019

Currently multi_check requires unnecessary specification when there are no args and doesn't have an easy way to add small custom functions.

For example, an empty dict is needed as a value for has_no_nans:

...
checks_dict = {ck.has_no_nans: {}, ... }
ck.multi_check(df, checks_dict)

Also, you need to make a function for a user-defined check so that it can be fed in as a key to the checks_dict. Often that's just extra boilerplate, and usually will need an empty dict value like has_no_nans.

@ZaxR ZaxR added enhancement New feature or request help wanted Extra attention is needed labels Aug 28, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request help wanted Extra attention is needed
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant