Skip to content

Commit c9598ac

Browse files
DOC: fix ES01 for pandas.Period (pandas-dev#60890)
1 parent 6309d04 commit c9598ac

File tree

1 file changed

+5
-0
lines changed

1 file changed

+5
-0
lines changed

pandas/_libs/tslibs/period.pyx

+5
Original file line numberDiff line numberDiff line change
@@ -2842,6 +2842,11 @@ class Period(_Period):
28422842
"""
28432843
Represents a period of time.
28442844
2845+
A `Period` represents a specific time span rather than a point in time.
2846+
Unlike `Timestamp`, which represents a single instant, a `Period` defines a
2847+
duration, such as a month, quarter, or year. The exact representation is
2848+
determined by the `freq` parameter.
2849+
28452850
Parameters
28462851
----------
28472852
value : Period, str, datetime, date or pandas.Timestamp, default None

0 commit comments

Comments
 (0)