OiO.lk Community platform!

Oio.lk is an excellent forum for developers, providing a wide range of resources, discussions, and support for those in the developer community. Join oio.lk today to connect with like-minded professionals, share insights, and stay updated on the latest trends and technologies in the development field.
  You need to log in or register to access the solved answers to this problem.
  • You have reached the maximum number of guest views allowed
  • Please register below to remove this limitation

What is the difference between "scalar types" and "Numpy numerical types"?

  • Thread starter Thread starter 8Simon8
  • Start date Start date
8

8Simon8

Guest
I was reading about the data types in Numpy and then got confused by the two following statements:

1 NumPy numerical types are instances of dtype (data-type) objects, each having unique characteristics.

2 Note that the scalar types are not dtype objects, even though they can be used in place of one whenever a data type specification is needed in NumPy.

What is the difference between "scalar types" and "Numpy numerical types"? if they are the same, so scalar types are data-type objects or not?
<p>I was reading about the data types in Numpy and then got confused by the two following statements:</p>
<p><a href="https://numpy.org/doc/stable/user/basics.types.html" rel="nofollow noreferrer">1</a> NumPy numerical types are instances of dtype (data-type) objects, each having unique characteristics.</p>
<p><a href="https://numpy.org/doc/stable/reference/arrays.dtypes.html" rel="nofollow noreferrer">2</a> Note that the scalar types are not dtype objects, even though they can be used in place of one whenever a data type specification is needed in NumPy.</p>
<p>What is the difference between "scalar types" and "Numpy numerical types"? if they are the same, so scalar types are data-type objects or not?</p>
 
Top