File tree 1 file changed +3
-3
lines changed
1 file changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -5255,16 +5255,16 @@ def abs(self):
5255
5255
5256
5256
@Appender (_shared_docs ['describe' ] % _shared_doc_kwargs )
5257
5257
def describe (self , percentiles = None , include = None , exclude = None ):
5258
- # explicit conversion of `percentiles` to list
5259
- percentiles = list (percentiles )
5260
-
5261
5258
if self .ndim >= 3 :
5262
5259
msg = "describe is not implemented on Panel or PanelND objects."
5263
5260
raise NotImplementedError (msg )
5264
5261
elif self .ndim == 2 and self .columns .size == 0 :
5265
5262
raise ValueError ("Cannot describe a DataFrame without columns" )
5266
5263
5267
5264
if percentiles is not None :
5265
+ # explicit conversion of `percentiles` to list
5266
+ percentiles = list (percentiles )
5267
+
5268
5268
# get them all to be in [0, 1]
5269
5269
self ._check_percentile (percentiles )
5270
5270
You can’t perform that action at this time.
0 commit comments