We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
2 parents 8b8c500 + 66c0863 commit f2c0afdCopy full SHA for f2c0afd
1 file changed
datamatrix/_datamatrix/_numericcolumn.py
@@ -277,9 +277,9 @@ def _sortedrowid(self):
277
278
def _merge(self, other, _rowid):
279
280
- i_other = ~np.in1d(other._rowid, self._rowid) \
281
- & np.in1d(other._rowid, _rowid)
282
- i_self = np.in1d(self._rowid, _rowid)
+ i_other = ~np.isin(other._rowid, self._rowid) \
+ & np.isin(other._rowid, _rowid)
+ i_self = np.isin(self._rowid, _rowid)
283
rowid = np.concatenate(
284
(self._rowid[i_self], other._rowid[i_other]))
285
seq = np.concatenate((self._seq[i_self], other._seq[i_other]))
0 commit comments