I find https://docs.rs/numpy/latest/numpy/array/struct.PyArray.html#method.from_slice by it copy the memory.