Skip to content

Commit 05646b8

Browse files
Backport PR #39551: CI: numpy deprecation warnings (#39635)
Co-authored-by: jbrockmendel <[email protected]>
1 parent 0b42417 commit 05646b8

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

asv_bench/benchmarks/series_methods.py

+2-2
Original file line numberDiff line numberDiff line change
@@ -87,8 +87,8 @@ def setup(self):
8787
self.vals_short = np.arange(2).astype(object)
8888
self.vals_long = np.arange(10 ** 5).astype(object)
8989
# because of nans floats are special:
90-
self.s_long_floats = Series(np.arange(10 ** 5, dtype=np.float)).astype(object)
91-
self.vals_long_floats = np.arange(10 ** 5, dtype=np.float).astype(object)
90+
self.s_long_floats = Series(np.arange(10 ** 5, dtype=np.float_)).astype(object)
91+
self.vals_long_floats = np.arange(10 ** 5, dtype=np.float_).astype(object)
9292

9393
def time_isin_nans(self):
9494
# if nan-objects are different objects,

0 commit comments

Comments
 (0)