Learn Before
Concept
NumPy
NumPy is a Python library for scientific computing that contains support for some fundamental data structures used by scikit-learn, such as multi-dimensional arrays. Example import: import numpy as np
0
5
Updated 2021-07-13
Tags
Data Science
Learn After
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