Skip to content

Commit a4652fd

Browse files
committed
docstring fixup
1 parent eaa7ee9 commit a4652fd

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

pandas/core/dtypes/dtypes.py

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1103,15 +1103,15 @@ def freq(self) -> BaseOffset:
11031103
"""
11041104
The frequency object of this PeriodDtype.
11051105
1106+
.. deprecated:: 3.0
1107+
Use dtype.unit instead.
1108+
11061109
The `freq` property returns the `BaseOffset` object that represents the
11071110
frequency of the PeriodDtype. This frequency specifies the interval (e.g.,
11081111
daily, monthly, yearly) associated with the Period type. It is essential
11091112
for operations that depend on time-based calculations within a period index
11101113
or series.
11111114
1112-
.. deprecated:: 3.0
1113-
Use dtype.unit instead.
1114-
11151115
See Also
11161116
--------
11171117
Period : Represents a period of time.

0 commit comments

Comments
 (0)