Python Libraries and Frameworks
Learn to use Python libraries for data processing, machine learning, and deep learning.
Python libraries are a collection of related functions and modules that allow us to reuse the code in our projects. This lesson gives details of the following Python libraries:
NumPy for mathematical functions.
pandas for data processing.
scikit-learn (
sklearn
) for machine learning.The TensorFlow framework and its application programming interface (API) Keras for deep learning.
NumPy for mathematical functions
NumPy or Numerical Python provides a sizable collection of fast numeric functions to perform linear algebra operations using multidimensional arrays and matrices. Remember, an array is a variable to hold several values. In standard Python, lists are arrays; however, lists are slow to process. NumPy’s array object, ndarray, is significantly faster than a list. Furthermore, the availability of arithmetic, trigonometric, and array processing functions makes NumPy a better choice than Python lists.
To create and use ndarrays, use the following code.
Get hands-on with 1400+ tech skills courses.