Skip to content

Commit 47a1c8c

Browse files
authored
Final describe.py
Final-Commit
1 parent 385336f commit 47a1c8c

File tree

1 file changed

+2
-7
lines changed

1 file changed

+2
-7
lines changed

pandas/core/methods/describe.py

Lines changed: 2 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -226,14 +226,9 @@ def describe_numeric_1d(series: Series, percentiles: Sequence[float]) -> Series:
226226
The percentiles to include in the output.
227227
"""
228228
from pandas import Series
229-
230-
# Fix for issue #60550 :
231-
# if percentiles != []:
229+
232230
formatted_percentiles = format_percentiles(percentiles)
233-
234-
# else:
235-
# formatted_percentiles = []
236-
231+
237232
stat_index = ["count", "mean", "std", "min"] + formatted_percentiles + ["max"]
238233
d = (
239234
[series.count(), series.mean(), series.std(), series.min()]

0 commit comments

Comments
 (0)