MCPcopy
hub / github.com/pandas-dev/pandas / _is_annual

Function _is_annual

pandas/tseries/frequencies.py:596–598  ·  view source on GitHub ↗
(rule: str)

Source from the content-addressed store, hash-verified

594
595
596def _is_annual(rule: str) -> bool:
597 rule = rule.upper()
598 return rule == "Y" or rule.startswith("Y-")
599
600
601def _is_quarterly(rule: str) -> bool:

Callers 2

is_subperiodFunction · 0.85
is_superperiodFunction · 0.85

Calls 2

upperMethod · 0.80
startswithMethod · 0.80

Tested by

no test coverage detected