You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
10 lines
252 B
10 lines
252 B
|
4 days ago
|
def return_slice_of_data(arr, start_idx, end_idx):
|
||
|
|
return arr[start_idx:end_idx]
|
||
|
|
|
||
|
|
|
||
|
|
def print_filename_and_raise(arr):
|
||
|
|
from joblib._memmapping_reducer import _get_backing_memmap
|
||
|
|
|
||
|
|
print(_get_backing_memmap(arr).filename)
|
||
|
|
raise ValueError
|