Skip to content

Commit b7b2d38

Browse files
committed
fixed a doc string
1 parent 7dada7c commit b7b2d38

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
@@ -9806,10 +9806,10 @@ def pct_change(
98069806
Percentage change in French franc, Deutsche Mark, and Italian lira from
98079807
1980-01-01 to 1980-03-01.
98089808
9809-
>>> df = pd.DataFrame({{
9809+
>>> df = pd.DataFrame({
98109810
... 'FR': [4.0405, 4.0963, 4.3149],
98119811
... 'GR': [1.7246, 1.7482, 1.8519],
9812-
... 'IT': [804.74, 810.01, 860.13]}},
9812+
... 'IT': [804.74, 810.01, 860.13]},
98139813
... index=['1980-01-01', '1980-02-01', '1980-03-01'])
98149814
>>> df
98159815
FR GR IT
@@ -9826,10 +9826,10 @@ def pct_change(
98269826
Percentage of change in GOOG and APPL stock volume. Shows computing
98279827
the percentage change between columns.
98289828
9829-
>>> df = pd.DataFrame({{
9829+
>>> df = pd.DataFrame({
98309830
... '2016': [1769950, 30586265],
98319831
... '2015': [1500923, 40912316],
9832-
... '2014': [1371819, 41403351]}},
9832+
... '2014': [1371819, 41403351]},
98339833
... index=['GOOG', 'APPL'])
98349834
>>> df
98359835
2016 2015 2014

0 commit comments

Comments
 (0)