Skip to content

Commit ac92e12

Browse files
committed
fixed a doc string
1 parent 444dd7f commit ac92e12

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

pandas/core/generic.py

+4-4
Original file line numberDiff line numberDiff line change
@@ -9800,10 +9800,10 @@ def pct_change(
98009800
Percentage change in French franc, Deutsche Mark, and Italian lira from
98019801
1980-01-01 to 1980-03-01.
98029802
9803-
>>> df = pd.DataFrame({{
9803+
>>> df = pd.DataFrame({
98049804
... 'FR': [4.0405, 4.0963, 4.3149],
98059805
... 'GR': [1.7246, 1.7482, 1.8519],
9806-
... 'IT': [804.74, 810.01, 860.13]}},
9806+
... 'IT': [804.74, 810.01, 860.13]},
98079807
... index=['1980-01-01', '1980-02-01', '1980-03-01'])
98089808
>>> df
98099809
FR GR IT
@@ -9820,10 +9820,10 @@ def pct_change(
98209820
Percentage of change in GOOG and APPL stock volume. Shows computing
98219821
the percentage change between columns.
98229822
9823-
>>> df = pd.DataFrame({{
9823+
>>> df = pd.DataFrame({
98249824
... '2016': [1769950, 30586265],
98259825
... '2015': [1500923, 40912316],
9826-
... '2014': [1371819, 41403351]}},
9826+
... '2014': [1371819, 41403351]},
98279827
... index=['GOOG', 'APPL'])
98289828
>>> df
98299829
2016 2015 2014

0 commit comments

Comments
 (0)