Skip to content

Commit 538f8f5

Browse files
Pep8 fixes
1 parent 4248eac commit 538f8f5

File tree

1 file changed

+5
-5
lines changed

1 file changed

+5
-5
lines changed

pandas/tests/groupby/test_groupby.py

+5-5
Original file line numberDiff line numberDiff line change
@@ -1718,9 +1718,9 @@ def test_groupby_multiindex_nat():
17181718

17191719
def test_idxmin_idxmax_returns_int_types():
17201720
# GH 25444
1721-
df = pd.DataFrame({'name': ['A', 'A', 'B', 'B'],
1722-
'c_int': [1, 2, 3, 4],
1723-
'c_float': [4.02, 3.03, 2.04, 1.05],
1721+
df = pd.DataFrame({'name': ['A', 'A', 'B', 'B'],
1722+
'c_int': [1, 2, 3, 4],
1723+
'c_float': [4.02, 3.03, 2.04, 1.05],
17241724
'c_date': ['2019', '2018', '2016', '2017']})
17251725
df['c_date'] = pd.to_datetime(df['c_date'])
17261726

@@ -1734,14 +1734,14 @@ def test_idxmin_idxmax_returns_int_types():
17341734
idxmins_expected = pd.DataFrame({'c_int': [0, 2],
17351735
'c_float': [1, 3],
17361736
'c_date': [1, 2]},
1737-
index=['A', 'B'])
1737+
index=['A', 'B'])
17381738

17391739
idxmins_expected.index.name = "name"
17401740

17411741
idxmaxs_expected = pd.DataFrame({'c_int': [1, 3],
17421742
'c_float': [0, 2],
17431743
'c_date': [0, 3]},
1744-
index=['A', 'B'])
1744+
index=['A', 'B'])
17451745

17461746
idxmaxs_expected.index.name = "name"
17471747

0 commit comments

Comments
 (0)