Merge pull request #28 from sarthak405/master
allow month start frequency
This commit is contained in:
+1
-1
@@ -70,7 +70,7 @@ def freq_map(freq: str):
|
|||||||
or freq.endswith("U")
|
or freq.endswith("U")
|
||||||
):
|
):
|
||||||
return 0
|
return 0
|
||||||
elif freq.endswith("W") or freq.endswith("M"):
|
elif freq.endswith(("W", "M", "MS")):
|
||||||
return 1
|
return 1
|
||||||
elif freq.endswith("Y") or freq.endswith("Q"):
|
elif freq.endswith("Y") or freq.endswith("Q"):
|
||||||
return 2
|
return 2
|
||||||
|
|||||||
Reference in New Issue
Block a user