Région de recherche :

Date :

https://numpy.org › doc › stable › reference › arrays.dtypes.html

Data type objects (dtype) — NumPy v2.1 Manual

Learn how to create and use data type objects (dtype) to describe the memory layout and interpretation of array items in NumPy. See examples of scalar, structured and sub-array data types, and how to specify byte order, size and alignment.

https://numpy.org › doc › stable › user › basics.types.html

Data types — NumPy v2.1 Manual

Learn how to create and manipulate arrays with different data types in NumPy, such as numerical, string, byte and void types. See the correspondence between NumPy and C data types and how to specify parameters like byte order.

https://docs.scipy.org › doc › numpy-1.13.0 › reference › arrays.dtypes.html

Data type objects (dtype) — NumPy v1.13 Manual - SciPy.org

A data type object (an instance of numpy.dtype class) describes how the bytes in the fixed-size block of memory corresponding to an array item should be interpreted. It describes the following aspects of the data: Type of the data (integer, float, Python object, etc.) Size of the data (how many bytes is in e.g. the integer)

https://runebook.dev › fr › docs › numpy › reference › arrays.dtypes

NumPy - dtype object [fr] - Runebook.dev

Un objet de type de données (une instance de la classe numpy.dtype ) décrit comment les octets du bloc de mémoire de taille fixe correspondant à un élément du tableau doivent être interprétés. Il décrit les aspects suivants des données : Type de données (entier, float, objet Python , etc.)

https://docs.scipy.org › doc › numpy-1.13.0 › user › basics.types.html

Data types — NumPy v1.13 Manual - SciPy.org

Data-types can be used as functions to convert python numbers to array scalars (see the array scalar section for an explanation), python sequences of numbers to arrays of that type, or as arguments to the dtype keyword that many numpy functions or methods accept. Some examples:

https://stackoverflow.com › questions › 9457037

python - what does .dtype do? - Stack Overflow

A data type object (an instance of numpy.dtype class) describes how the bytes in the fixed-size block of memory corresponding to an array item should be interpreted. ints and floats don't have the same bit patterns, meaning you can't just look at the memory for an int and it would be the same number when you look at it as a float.

https://www.slingacademy.com › article › a-detailed-guide-to-ndarray-dtype-attribute-in...

A detailed guide to ndarray.dtype attribute in NumPy (5 examples)

Learn how to use the ndarray.dtype attribute in NumPy to define, change and check the data type of arrays. See examples of basic, complex and structured data types, and how they affect performance and operations.

https://numpy.org › doc › stable › reference › routines.dtypes.html

Data type classes (numpy.dtypes) — NumPy v2.1 Manual

Learn about the classes of NumPy dtype instances and scalar types defined in the dtypes module. See the source code and examples of each class and how to use them in isinstance checks or direct instantiation.

https://docs.scipy.org › doc › numpy-1.17.0 › user › basics.types.html

Data types — NumPy v1.17 Manual - SciPy.org

Data-types can be used as functions to convert python numbers to array scalars (see the array scalar section for an explanation), python sequences of numbers to arrays of that type, or as arguments to the dtype keyword that many numpy functions or methods accept. Some examples: