Chapter 3

Introduction to NumPy, Pandas,and Matplotlib

Learning Objectives

By the end of the chapter, you will be able to:

  • Create and manipulate one-dimensional and multi-dimensional arrays
  • Create and manipulate pandas DataFrames and series objects
  • Plot and visualize numerical data using the Matplotlib library
  • Apply matplotlib, NumPy, and pandas to calculate descriptive statistics from a DataFrame/matrix

In this chapter, you will learn about the fundamentals of the NumPy, pandas, and matplotlib libraries.

Introduction

In the preceding chapters, we have covered some advanced data structures, such as stack, queue, iterator, and file operations in Python. In this section, we will cover three essential libraries, namely NumPy, pandas, and ...

Get Data Wrangling with Python now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.