Skip to content

Commit dd4394b

Browse files
authored
Update generic.py
1 parent 91e55c7 commit dd4394b

File tree

1 file changed

+6
-6
lines changed

1 file changed

+6
-6
lines changed

pandas/core/groupby/generic.py

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -1567,12 +1567,12 @@ def corr(
15671567
Series.corr : Equivalent method on ``Series``.
15681568
15691569
1570-
Examples
1571-
--------
1572-
>>> import pandas as pd
1573-
>>> s = pd.Series([1, 2, 3, 4], index=[0, 0, 1, 1])
1574-
>>> g = s.groupby([0, 0, 1, 1])
1575-
>>> g.corr() # doctest: +SKIP
1570+
Examples
1571+
--------
1572+
>>> import pandas as pd
1573+
>>> s = pd.Series([1, 2, 3, 4], index=[0, 0, 1, 1])
1574+
>>> g = s.groupby([0, 0, 1, 1])
1575+
>>> g.corr() # doctest: +SKIP
15761576
"""
15771577
result = self._op_via_apply(
15781578
"corr", other=other, method=method, min_periods=min_periods

0 commit comments

Comments
 (0)