From 56a7dd76096a57e6fbf55dd7e2903e5816b14a68 Mon Sep 17 00:00:00 2001 From: Alp Akpinar Date: Wed, 17 Jan 2024 20:03:40 -0500 Subject: [PATCH] Remove inconsistency in describe() method docs --- pandas/core/generic.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/pandas/core/generic.py b/pandas/core/generic.py index 86c4a99ac052d..db60e68ec6194 100644 --- a/pandas/core/generic.py +++ b/pandas/core/generic.py @@ -11815,10 +11815,10 @@ def describe( upper percentile is ``75``. The ``50`` percentile is the same as the median. - For object data (e.g. strings or timestamps), the result's index + For object data (e.g. strings), the result's index will include ``count``, ``unique``, ``top``, and ``freq``. The ``top`` is the most common value. The ``freq`` is the most common value's - frequency. Timestamps also include the ``first`` and ``last`` items. + frequency. If multiple object values have the highest count, then the ``count`` and ``top`` results will be arbitrarily chosen from