Learn Before
Concept
Data Types in NumPy
In python, there is already data types that it has by default such as boolean, float, integer, etc. However, NumPy offers additional data types:
- i - integer
- b - boolean
- u - unsigned integer
- f - float
- c - complex float
- m - time delta
- M - date time
- O - object
- S - string
- U - unicode String
- V - fixed chunk of memory for other type (void)
0
2
Updated 2021-03-30
Tags
Python Programming Language
Data Science
Related
NumPy Documentation
NumPy vs. Scikit-learn
What does the following code do?
Recall that "np.dot(a,b)" performs a matrix multiplication on a and b, whereas "a*b" performs an element-wise multiplication. Consider the two following random arrays "a" and "b": what is the shape of c?
Consider the following code: what will be c?
Consider the two following random arrays "a" and "b" below: what will be the shape of "c"?
Numpy Speed
Fundamental Objects in NumPy
Data Types in NumPy
Mathematical Functions in NumPy