Skip to content

Commit 7cead24

Browse files
DOC: fix ES01 for pandas.Period
1 parent 3da2c1c commit 7cead24

File tree

1 file changed

+5
-0
lines changed

1 file changed

+5
-0
lines changed

pandas/_libs/tslibs/period.pyx

Lines changed: 5 additions & 0 deletions
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)