Beispiel #1
0
def _take_2d_axis1_datetime(arr, indexer, out, fill_value=np.nan):
    view = arr.view(np.uint8)
    outview = out.view(np.uint8)
    _algos.take_1d_bool(view, indexer, outview, fill_value=fill_value)
Beispiel #2
0
def _take_1d_datetime(arr, indexer, out, fill_value=np.nan):
    view = arr.view(np.int64)
    outview = out.view(np.int64)
    _algos.take_1d_bool(view, indexer, outview, fill_value=fill_value)