Skip to content

Commit 712ca0d

Browse files
committed
fixed a doc string
1 parent 625b540 commit 712ca0d

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
@@ -9862,10 +9862,10 @@ def pct_change(
98629862
Percentage change in French franc, Deutsche Mark, and Italian lira from
98639863
1980-01-01 to 1980-03-01.
98649864
9865-
>>> df = pd.DataFrame({{
9865+
>>> df = pd.DataFrame({
98669866
... 'FR': [4.0405, 4.0963, 4.3149],
98679867
... 'GR': [1.7246, 1.7482, 1.8519],
9868-
... 'IT': [804.74, 810.01, 860.13]}},
9868+
... 'IT': [804.74, 810.01, 860.13]},
98699869
... index=['1980-01-01', '1980-02-01', '1980-03-01'])
98709870
>>> df
98719871
FR GR IT
@@ -9882,10 +9882,10 @@ def pct_change(
98829882
Percentage of change in GOOG and APPL stock volume. Shows computing
98839883
the percentage change between columns.
98849884
9885-
>>> df = pd.DataFrame({{
9885+
>>> df = pd.DataFrame({
98869886
... '2016': [1769950, 30586265],
98879887
... '2015': [1500923, 40912316],
9888-
... '2014': [1371819, 41403351]}},
9888+
... '2014': [1371819, 41403351]},
98899889
... index=['GOOG', 'APPL'])
98909890
>>> df
98919891
2016 2015 2014

0 commit comments

Comments
 (0)