-
-
Notifications
You must be signed in to change notification settings - Fork 284
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
add validate(..., inplace=False) keyword to prevent mutation (#305)
* add validate(..., inplace=False) keyword Fixes #301 This diff addresses an issue where schemas mutate the original df to be validated. By default, the validate method will create a copy of the dataframe before coercing the type. Users can still specify inplace=True in cases where mutating the original dataframe doesn't matter, e.g. at the end of a method chain where the original df doesn't need to be preserved. * fix pylint * fix inplace validation tests for windows * use inplace in decorators, set line length to 79 * update travis ci line length * revert line length * apply new line length param in isort and black to all files * fix test * fix tests
- Loading branch information
1 parent
5a3ed31
commit 586ebf3
Showing
29 changed files
with
861 additions
and
291 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.