Code
Hub
Workspaces
Connect
Indexed graphs
Engine
MCP
copy
hub
/
github.com/pandas-dev/pandas
/ _is_quarterly
Function
_is_quarterly
pandas/tseries/frequencies.py:601–603 ·
view source on GitHub ↗
(rule: str)
Source
from the content-addressed store, hash-verified
599
600
601
def
_is_quarterly(rule: str) -> bool:
602
rule = rule.upper()
603
return
rule ==
"Q"
or rule.startswith((
"Q-"
,
"BQ"
))
604
605
606
def
_is_monthly(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