What is the difference between dest_np=copy.deepcopy(src_np) and dest_np[:]=src_np for copying numpy arrays in python3? Which is better?

前端 未结 0 926
南方客
南方客 2021-01-20 05:28

I am trying to efficiently deep copy a numpy array into another.

Some background, I started with copying from a byte array into the numpy array like the following. Ho

相关标签:
回答
  • 消灭零回复
提交回复
热议问题