bulwark.checks¶
Each function in this module should:
take a pd.DataFrame as its first argument, with optional additional arguments,
make an assert about the pd.DataFrame, and
return the original, unaltered pd.DataFrame
Functions
|
Assert that check(df, *args, **kwargs) is true. |
|
Asserts that df has |
|
Asserts that df has |
|
Asserts that there are no np.infs in df. |
|
Asserts that there are no np.nans in df. |
|
Asserts that there are no np.infs in df. |
|
Asserts that there are no Nones in df. |
|
Asserts that there are no user-specified values in df’s columns. |
|
Asserts that all given values are found in columns’ values. |
|
Asserts that df’s index is unique. |
|
Asserts that the df is monotonic. |
|
Asserts that two pd.DataFrames are equal. |
|
Asserts that df is of a known row x column shape. |
|
Asserts that all checks pass. |
|
Asserts that a many-to-one relationship is preserved between two columns. |
|
Asserts that columns in df only have unique values. |
|
Asserts that every value is within |
|
Asserts that df is within a range. |
|
Asserts that df is a subset of items. |