chore: don't use deprecated pandas timeperiod
This commit is contained in:
@@ -213,7 +213,7 @@ def _get_resample_from_period(period: str) -> str:
|
|||||||
if period == "month":
|
if period == "month":
|
||||||
return "1ME"
|
return "1ME"
|
||||||
if period == "year":
|
if period == "year":
|
||||||
return "1Y"
|
return "1YE"
|
||||||
raise ValueError(f"Period {period} is not supported.")
|
raise ValueError(f"Period {period} is not supported.")
|
||||||
|
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user