We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent c4bfeb6 commit 18294c4Copy full SHA for 18294c4
2 files changed
src/scyjava/_convert.py
@@ -708,7 +708,7 @@ def _jarray_to_ndarray(jarr):
708
element_type = _jarray_element_type(jarr)
709
# fmt: off
710
jarraytype_map = {
711
- JBoolean: np.bool8,
+ JBoolean: np.bool_,
712
JByte: np.int8,
713
# JChar: np.???,
714
JDouble: np.float64,
tests/test_pandas.py
@@ -117,7 +117,7 @@ def testTabletoPandas(self):
117
118
assert_same_table(table, df)
119
for col in df.columns:
120
- assert df.dtypes[col] == np.bool8
+ assert df.dtypes[col] == np.bool_
121
122
# Mixed table
123
table = jimport("org.scijava.table.DefaultGenericTable")()
0 commit comments