Skip to content

Commit ef0dd1e

Browse files
author
Matias Heikkilä
committed
asd
1 parent 683e5f6 commit ef0dd1e

File tree

1 file changed

+4
-2
lines changed

1 file changed

+4
-2
lines changed

pandas/tests/groupby/aggregate/test_aggregate.py

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -314,13 +314,15 @@ def test_order_aggregate_multiple_funcs():
314314

315315
tm.assert_index_equal(result, expected)
316316

317+
317318
@pytest.mark.parametrize('dtype', [np.int64, np.uint64])
318-
@pytest.mark.parametrize('how', ['first', 'last', 'min', 'max', 'mean', 'median'])
319+
@pytest.mark.parametrize('how', ['first', 'last', 'min',
320+
'max', 'mean', 'median'])
319321
def test_uint64_type_handling(dtype, how):
320322
# GH 26310
321323
df = pd.DataFrame({'x': 6903052872240755750, 'y': [1, 2]})
322324
expected = df.groupby('y').agg({'x': how})
323325
df.x = df.x.astype(dtype)
324326
result = df.groupby('y').agg({'x': how})
325327
result.x = result.x.astype(np.int64)
326-
tm.assert_frame_equal(result, expected, check_exact = True)
328+
tm.assert_frame_equal(result, expected, check_exact=True)

0 commit comments

Comments
 (0)