Skip to content

Commit db2319e

Browse files
anhqlesweb
authored andcommitted
CLN PEP8 compliance
1 parent e6c88c1 commit db2319e

File tree

1 file changed

+4
-2
lines changed

1 file changed

+4
-2
lines changed

pandas/tests/reshape/test_pivot.py

+4-2
Original file line numberDiff line numberDiff line change
@@ -1280,9 +1280,11 @@ def test_pivot_string_func_vs_func(self, f, f_numpy):
12801280
def test_pivot_number_of_levels_larger_than_int32(self):
12811281
# GH 20601
12821282
data = DataFrame({'ind1': list(range(1337600)) * 2,
1283-
'ind2': list(range(3040)) * 2 * 440, 'count': [1] * 2 * 1337600})
1283+
'ind2': list(range(3040)) * 2 * 440,
1284+
'count': [1] * 2 * 1337600})
12841285
with tm.assert_raises_regex(ValueError, 'int32 overflow'):
1285-
data.pivot_table(index='ind1', columns='ind2', values='count', aggfunc='count')
1286+
data.pivot_table(index='ind1', columns='ind2',
1287+
values='count', aggfunc='count')
12861288

12871289

12881290
class TestCrosstab(object):

0 commit comments

Comments
 (0)