Closed
Description
# master
In [1]: pandas.core.algorithms.take_nd(np.array([0, 1], dtype='uint64'), np.array([0, -1]))
Out[1]: array([ 0., nan])
# with this change above
In [5]: pandas.core.algorithms.take_nd(np.array([0, 1], dtype='uint64'), np.array([0, -1]))
Out[5]: array([ 0, 18446744073709551615], dtype=uint64)
mainly need some more testing w.r.t. this (e.g. pandas.types.cast._maybe_promote
).