mirror of
https://github.com/Akkudoktor-EOS/EOS.git
synced 2026-11-25 23:16:18 +01:00
fix(deps): upgrade pandas to 3.1 and fix EOS deprecations (#1469)
* build(deps): bump pandas from 3.0.6 to 3.1.0 * fix(prediction): avoid pandas 3.1 deprecation warnings
This commit is contained in:
@@ -280,7 +280,7 @@ def Prediction(eos_host: str, eos_port: Union[str, int], data: Optional[dict] =
|
||||
# Merge into dataframe
|
||||
# ---------------------------------------------------------------------
|
||||
predictions = pd.concat(series_list, axis=1).reset_index()
|
||||
predictions.rename(columns={"index": "date_time"}, inplace=True)
|
||||
predictions = predictions.rename(columns={"index": "date_time"})
|
||||
|
||||
# Remove time offset from UTC to get naive local time and make bokeh plot in local time
|
||||
date_time_tz = predictions["date_time"].dt.tz
|
||||
|
||||
Reference in New Issue
Block a user