Skip to content

Commit c0c6baf

Browse files
--amend
1 parent 06a05da commit c0c6baf

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

pandas/core/frame.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -6712,7 +6712,7 @@ def corr(self, method='pearson', min_periods=1):
67126712
67136713
>>> df = pd.DataFrame([(1, 3), (0, 6), (3, 0), (1, 1)],
67146714
... columns=['dogs', 'cats'])
6715-
>>> df.corr(method = histogram_intersection)
6715+
>>> df.corr(method=histogram_intersection)
67166716
dogs cats
67176717
dogs 1.0 0.3
67186718
cats 0.3 1.0

pandas/core/series.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -1935,7 +1935,7 @@ def corr(self, other, method='pearson', min_periods=None):
19351935
19361936
>>> s1 = pd.Series([1, 0, 3, 1])
19371937
>>> s2 = pd.Series([3, 6, 0, 1])
1938-
>>> s1.corr(s2, method = histogram_intersection)
1938+
>>> s1.corr(s2, method=histogram_intersection)
19391939
0.3
19401940
"""
19411941
this, other = self.align(other, join='inner', copy=False)

0 commit comments

Comments
 (0)