Skip to content

Commit ac4a5eb

Browse files
resolved a futurewarning
1 parent 3a9802d commit ac4a5eb

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

pandas/tests/base/conftest.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@ def _create_narrow_series(data_dtype):
2020
""" Helper for the _narrow_series dict """
2121
index = indices_dict["int"].copy()
2222
size = len(index)
23-
if np.issubdtype(data_dtype, np.float):
23+
if np.issubdtype(data_dtype, np.floating):
2424
data = np.random.choice(size, size=size, replace=False)
2525
elif np.issubdtype(data_dtype, np.integer):
2626
data = np.random.randn(size)

0 commit comments

Comments
 (0)