| [ Web Proxy ] |
| Viewing: https://docs.scipy.org/doc/numpy/reference/generated/numpy.ndarray.__array__.html | [Back] [Original] |
method
For dtype parameter it returns a new reference to self if
dtype is not given or it matches arrays data type.
A new array of provided data type is returned if dtype
is different from the current data type of the array.
For copy parameter it returns a new reference to self if
copy=False or copy=None and copying isnt enforced by dtype
parameter. The method returns a new array for copy=True, regardless of
dtype parameter.
A more detailed explanation of the __array__ interface
can be found in The __array__() method.
| Web Proxy Viewer | New URL | Original Page |