Merge pull request #28 from sarthak405/master

allow month start frequency
This commit is contained in:
Rajat Sen
2024-05-20 17:35:16 +01:00
committed by GitHub
+1 -1
View File
@@ -70,7 +70,7 @@ def freq_map(freq: str):
or freq.endswith("U")
):
return 0
elif freq.endswith("W") or freq.endswith("M"):
elif freq.endswith(("W", "M", "MS")):
return 1
elif freq.endswith("Y") or freq.endswith("Q"):
return 2