We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 6437417 commit a47ead6Copy full SHA for a47ead6
pandas-stubs/_libs/tslibs/period.pyi
@@ -21,7 +21,6 @@ from pandas._libs.tslibs.offsets import (
21
)
22
from pandas._libs.tslibs.timestamps import Timestamp
23
from pandas._typing import (
24
- Frequency,
25
ShapeT,
26
np_1darray,
27
np_ndarray,
@@ -232,7 +231,7 @@ class Period(PeriodMixin):
232
231
def day_of_week(self) -> int: ...
233
def asfreq(self, freq: str | DateOffset, how: _PeriodFreqHow = "end") -> Period: ...
234
@classmethod
235
- def now(cls, freq: Frequency = ...) -> Period: ...
+ def now(cls, freq: str | DateOffset | None = None) -> Period: ...
236
def strftime(self, fmt: str) -> str: ...
237
def to_timestamp(
238
self,
0 commit comments