A RetroSearch Logo

Home - News ( United States | United Kingdom | Italy | Germany ) - Football scores

Search Query:

Showing content from https://numpy.org/devdocs/reference/generated/numpy.ndarray.__array__.html below:

numpy.ndarray.__array__ — NumPy v2.4.dev0 Manual

numpy.ndarray.__array__#

method

ndarray.__array__([dtype, ]*, copy=None)#

For dtype parameter it returns a new reference to self if dtype is not given or it matches array’s 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 isn’t 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.


RetroSearch is an open source project built by @garambo | Open a GitHub Issue

Search and Browse the WWW like it's 1997 | Search results from DuckDuckGo

HTML: 3.2 | Encoding: UTF-8 | Version: 0.7.4