In pandas, you can use the following command:
DallasData[DallasData['age_median']>35]=45
The following two screenshots show the data before and after performing the update:
Before and after updating all ages greater than 35 to 45
In pandas, you can use the following command:
DallasData[DallasData['age_median']>35]=45
The following two screenshots show the data before and after performing the update: