Code
Hub
Workspaces
Connect
Indexed graphs
Engine
MCP
copy
hub
/
github.com/pandas-dev/pandas
/ _is_weekly
Function
_is_weekly
pandas/tseries/frequencies.py:611–613 ·
view source on GitHub ↗
(rule: str)
Source
from the content-addressed store, hash-verified
609
610
611
def
_is_weekly(rule: str) -> bool:
612
rule = rule.upper()
613
return
rule ==
"W"
or rule.startswith(
"W-"
)
614
615
616
__all__ = [
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