@@ -5287,7 +5287,6 @@ def describe(self, percentiles=None, include=None, exclude=None):
5287
5287
--------
5288
5288
Describing a numeric ``Series``.
5289
5289
5290
- >>> import pandas as pd
5291
5290
>>> s = pd.Series([1, 2, 3])
5292
5291
>>> s.describe()
5293
5292
count 3.0
@@ -5311,7 +5310,6 @@ def describe(self, percentiles=None, include=None, exclude=None):
5311
5310
5312
5311
Describing a timestamp ``Series``.
5313
5312
5314
- >>> import numpy as np
5315
5313
>>> s = pd.Series([
5316
5314
... np.datetime64("2000-01-01"),
5317
5315
... np.datetime64("2010-01-01"),
@@ -5329,10 +5327,8 @@ def describe(self, percentiles=None, include=None, exclude=None):
5329
5327
Describing a ``DataFrame``. By default only numeric fields
5330
5328
are returned.
5331
5329
5332
- >>> df = pd.DataFrame(
5333
- ... [[1, 'a'], [2, 'b'], [3, 'c']],
5334
- ... columns=['numeric', 'object']
5335
- ... )
5330
+ >>> df = pd.DataFrame([[1, 'a'], [2, 'b'], [3, 'c']],
5331
+ ... columns=['numeric', 'object'])
5336
5332
>>> df.describe()
5337
5333
numeric
5338
5334
count 3.0
0 commit comments