MCPcopy
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
611def _is_weekly(rule: str) -> bool:
612 rule = rule.upper()
613 return rule == "W" or rule.startswith("W-")
614
615
616__all__ = [

Callers 2

is_subperiodFunction · 0.85
is_superperiodFunction · 0.85

Calls 2

upperMethod · 0.80
startswithMethod · 0.80

Tested by

no test coverage detected