Skip to main content

Check Dataframe Column Values In Range

Ensures that all values in a DataFrame column are within a specified range [min_value, max_value].

Device Type
Jupyter

Variables:

Variable NameVariable DescriptionTypeRequired?Default
df_nameThe name of the student's DataFrame variable.strYes
column_nameThe name of the column to check in the DataFrame.strYes
min_valueThe minimum allowable value for all entries in the column.floatYes
max_valueThe maximum allowable value for all entries in the column.floatYes

Examples: