Check Dataframe Column Has Max Value
Ensures a DataFrame column has a maximum value (column <= max_value).
| Device Type |
|---|
| Jupyter |
Variables:
| Variable Name | Variable Description | Type | Required? | Default |
|---|---|---|---|---|
df_name | The name of the student's DataFrame variable. | str | Yes | |
column_name | The name of the column to check in the DataFrame. | str | Yes | |
max_value | The maximum value that all elements in the column should not exceed. | float | Yes |