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

Enhance decorator to check returned tuple dataframes and input dataframes #66

Open
wants to merge 10 commits into
base: master
Choose a base branch
from

Conversation

drosengarten
Copy link

Code for issue 65: #65

The current implementation only allows a singular result dataframe checked
This change expands this functionality to allow the decorator to include checking returned dataframes in tuples as well as specifying input dataframes.

str:  arg name of the input argument to the decorated function to check
int:  the entry in a tuple returned by the decorated function to check
None: check the single dataframe return by the decorated function (default functionality for backward compatibility)
@drosengarten drosengarten changed the title Feature/add df location in decorators Enhance decorator to check returned tuple dataframes and input dataframes Jan 6, 2020
@drosengarten
Copy link
Author

drosengarten commented Jan 7, 2020

I will look into the issue on why it failed the linting under python 3.7, but not under 3.6/3.5

@drosengarten
Copy link
Author

@ZaxR , will you please review the code that addresses issue #65 ? I couldn't find a way to add you as a reviewer. Thanks

@ZaxR ZaxR self-requested a review January 11, 2020 14:49
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant