Skip to content

Commit 38abbe3

Browse files
committed
fixed a doc string format
1 parent 1a577c9 commit 38abbe3

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
@@ -10065,10 +10065,10 @@ def describe_1d(data):
1006510065
Percentage change in French franc, Deutsche Mark, and Italian lira from
1006610066
1980-01-01 to 1980-03-01.
1006710067
10068-
>>> df = pd.DataFrame({
10068+
>>> df = pd.DataFrame({{
1006910069
... 'FR': [4.0405, 4.0963, 4.3149],
1007010070
... 'GR': [1.7246, 1.7482, 1.8519],
10071-
... 'IT': [804.74, 810.01, 860.13]},
10071+
... 'IT': [804.74, 810.01, 860.13]}},
1007210072
... index=['1980-01-01', '1980-02-01', '1980-03-01'])
1007310073
>>> df
1007410074
FR GR IT
@@ -10085,10 +10085,10 @@ def describe_1d(data):
1008510085
Percentage of change in GOOG and APPL stock volume. Shows computing
1008610086
the percentage change between columns.
1008710087
10088-
>>> df = pd.DataFrame({
10088+
>>> df = pd.DataFrame({{
1008910089
... '2016': [1769950, 30586265],
1009010090
... '2015': [1500923, 40912316],
10091-
... '2014': [1371819, 41403351]},
10091+
... '2014': [1371819, 41403351]}},
1009210092
... index=['GOOG', 'APPL'])
1009310093
>>> df
1009410094
2016 2015 2014

0 commit comments

Comments
 (0)