Skip to content

Commit 0fb3091

Browse files
committed
fixed a doc string format
1 parent 889faf9 commit 0fb3091

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

pandas/core/generic.py

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -10074,10 +10074,10 @@ def describe_1d(data):
1007410074
Percentage change in French franc, Deutsche Mark, and Italian lira from
1007510075
1980-01-01 to 1980-03-01.
1007610076
10077-
>>> df = pd.DataFrame({
10077+
>>> df = pd.DataFrame({{
1007810078
... 'FR': [4.0405, 4.0963, 4.3149],
1007910079
... 'GR': [1.7246, 1.7482, 1.8519],
10080-
... 'IT': [804.74, 810.01, 860.13]},
10080+
... 'IT': [804.74, 810.01, 860.13]}},
1008110081
... index=['1980-01-01', '1980-02-01', '1980-03-01'])
1008210082
>>> df
1008310083
FR GR IT
@@ -10094,10 +10094,10 @@ def describe_1d(data):
1009410094
Percentage of change in GOOG and APPL stock volume. Shows computing
1009510095
the percentage change between columns.
1009610096
10097-
>>> df = pd.DataFrame({
10097+
>>> df = pd.DataFrame({{
1009810098
... '2016': [1769950, 30586265],
1009910099
... '2015': [1500923, 40912316],
10100-
... '2014': [1371819, 41403351]},
10100+
... '2014': [1371819, 41403351]}},
1010110101
... index=['GOOG', 'APPL'])
1010210102
>>> df
1010310103
2016 2015 2014

0 commit comments

Comments
 (0)