Python, Pandas, Data Science, Climate Change, Matplotlib.
temp_changes_df = pd.DataFrame.from_records([elem.dict() for elem in self.temperature_changes]) temp_changes = temp_changes_df.set_index(["timestamp", "area"]).rename(columns={"value": "temp_change"}) std_deviations_df = pd.DataFrame.from_records([elem.dict() for elem in self.standard_deviations])