forked from unionai-oss/pandera
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Bugfix/1278 add_missing_columns assorted bugfixes (unionai-oss#1372)
* Handle add_missing_columns for cases of non- python standard dtypes on coerce=False, sparse dtypes, and non-None null default values per issue unionai-oss#1278 Signed-off-by: Derin Walters <[email protected]> * Fix bug where multiple copies of a missing column are inserted into the validated dataframe when add_missing_columns is enabled (unionai-oss#1370) Signed-off-by: Derin Walters <[email protected]> * pylint issues related to Fix bug where multiple copies of a missing column are inserted into the validated dataframe when add_missing_columns is enabled (unionai-oss#1370) Signed-off-by: Derin Walters <[email protected]> * do not assign default value to sparse dtypes since that knowledge is already baked-in (unionai-oss#1278, unionai-oss#1370) Signed-off-by: Derin Walters <[email protected]> * lint (unionai-oss#1278, unionai-oss#1370) Signed-off-by: Derin Walters <[email protected]> * explicit dtype setting in test_add_missing_columns_dtype as it seems windows can have different interpretations of "int" (unionai-oss#1278, unionai-oss#1370) Signed-off-by: Derin Walters <[email protected]> --------- Signed-off-by: Derin Walters <[email protected]> Signed-off-by: Nok <[email protected]>
- Loading branch information
1 parent
979ad1b
commit 559e30b
Showing
3 changed files
with
102 additions
and
14 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