Skip to content

Commit 4eb9313

Browse files
Daniel SaxtonDaniel Saxton
Daniel Saxton
authored and
Daniel Saxton
committed
Just import pandas
1 parent 1bf4cee commit 4eb9313

File tree

2 files changed

+3
-4
lines changed

2 files changed

+3
-4
lines changed

pandas/tests/groupby/aggregate/test_timegrouper.py

Whitespace-only changes.

pandas/tests/reshape/test_qcut.py

+3-4
Original file line numberDiff line numberDiff line change
@@ -3,8 +3,8 @@
33
import numpy as np
44
import pytest
55

6+
import pandas as pd
67
from pandas import (
7-
NA,
88
Categorical,
99
DatetimeIndex,
1010
Interval,
@@ -13,7 +13,6 @@
1313
Series,
1414
TimedeltaIndex,
1515
Timestamp,
16-
array,
1716
cut,
1817
date_range,
1918
isna,
@@ -292,8 +291,8 @@ def test_qcut_bool_coercion_to_int(bins, box, compare):
292291

293292
@pytest.mark.parametrize("q", [2, 5, 10])
294293
def test_qcut_nullable_integer(q, any_nullable_int_dtype):
295-
arr = array(np.arange(100), dtype=any_nullable_int_dtype)
296-
arr[::2] = NA
294+
arr = pd.array(np.arange(100), dtype=any_nullable_int_dtype)
295+
arr[::2] = pd.NA
297296

298297
result = qcut(arr, q)
299298
expected = qcut(arr.astype(float), q)

0 commit comments

Comments
 (0)