Skip to content

Commit 763dcaf

Browse files
--amend
1 parent 8305fa1 commit 763dcaf

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

pandas/core/frame.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6678,7 +6678,7 @@ def corr(self, method='pearson', min_periods=1):
66786678
66796679
>>> df = pd.DataFrame([(1, 3), (0, 6), (3, 0), (1, 1)],
66806680
... columns=['dogs', 'cats'])
6681-
>>> df.corr(method = histogram_intersection)
6681+
>>> df.corr(method=histogram_intersection)
66826682
dogs cats
66836683
dogs 1.0 0.3
66846684
cats 0.3 1.0

pandas/core/series.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1938,7 +1938,7 @@ def corr(self, other, method='pearson', min_periods=None):
19381938
19391939
>>> s1 = pd.Series([1, 0, 3, 1])
19401940
>>> s2 = pd.Series([3, 6, 0, 1])
1941-
>>> s1.corr(s2, method = histogram_intersection)
1941+
>>> s1.corr(s2, method=histogram_intersection)
19421942
0.3
19431943
"""
19441944
this, other = self.align(other, join='inner', copy=False)

0 commit comments

Comments
 (0)