get_mobilised_dmo_thresholds#
- mobgap.aggregation.get_mobilised_dmo_thresholds() DataFrame[source]#
Load the mobilised DMO thresholds.
They can be used together with the
apply_thresholdsfunction to check if a DMO falls within the thresholds.- Returns:
- pd.DataFrame
Mobilised DMO thresholds with a multi-level index. This is a dataframe with a multi-level index, where the first level is DMO type and the second level is the cohort. The columns are also a multi-level index with the first level being the “type” of threshold, indicating from where the threshold was derived (e.g. “literature”, “global”, “free_living”, “laboratory”) and the second level being the actual threshold type (“min”, “max”).