Code
Hub
Workspaces
Connect
Indexed graphs
Engine
MCP
copy
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
596
def
_is_annual(rule: str) -> bool:
597
rule = rule.upper()
598
return
rule ==
"Y"
or rule.startswith(
"Y-"
)
599
600
601
def
_is_quarterly(rule: str) -> bool:
Callers
2
is_subperiod
Function · 0.85
is_superperiod
Function · 0.85
Calls
2
upper
Method · 0.80
startswith
Method · 0.80
Tested by
no test coverage detected