From 7cead243577bde97f49374c55dd356cc1c47b27a Mon Sep 17 00:00:00 2001 From: Tuhin Sharma Date: Sat, 8 Feb 2025 22:32:35 +0530 Subject: [PATCH] DOC: fix ES01 for pandas.Period --- pandas/_libs/tslibs/period.pyx | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/pandas/_libs/tslibs/period.pyx b/pandas/_libs/tslibs/period.pyx index 087d3119c36f2..bef1956996b4f 100644 --- a/pandas/_libs/tslibs/period.pyx +++ b/pandas/_libs/tslibs/period.pyx @@ -2842,6 +2842,11 @@ class Period(_Period): """ Represents a period of time. + A `Period` represents a specific time span rather than a point in time. + Unlike `Timestamp`, which represents a single instant, a `Period` defines a + duration, such as a month, quarter, or year. The exact representation is + determined by the `freq` parameter. + Parameters ---------- value : Period, str, datetime, date or pandas.Timestamp, default None