check_input_coverage
check_input_coverage(df, input_cols, max_gap_ratio=MAX_GAP_RATIO)Largest gap between neighbouring sorted values of each input, as a fraction of its range.
Public wrapper of the Input Coverage diagnostic. Missing and infinite values are ignored.
Parameters
| Name | Type | Description | Default |
|---|---|---|---|
| df | pd.DataFrame | The data. | required |
| input_cols | List[str] | The input columns to check. | required |
| max_gap_ratio | float | Largest allowed gap, as a fraction of the input’s range. | MAX_GAP_RATIO |
Returns
| Name | Type | Description |
|---|---|---|
| Dict | Dict | {col: {"min", "max", "max_gap_ratio", "sufficient_coverage"}}. |