python numpy ndarray astype error

xiaoxiao2021-02-28  49

you must use a new ndarray to store the transferred elements, as described in the documents:

By default, astype always returns a newly allocated array. If thisis set to false, and the dtype, order, and subokrequirements are satisfied, the input array is returned insteadof a copy.

转载请注明原文地址: https://www.6miu.com/read-44309.html

最新回复(0)