ABSTRACT

This chapter introduces Pandas, a powerful Python package for manipulating and analyzing large (and small) data sets. You first learn how to read data from external files, e.g., Excel or text files, into Pandas. You learn about different data structures for storing dates and times, time series , and data organized into rows and columns in a spreadsheet-like structure called a DataFrame . You then learn how to manipulate data, how to extract subsets of data, and how to plot those data using matplotlib, but with some new syntax introduced by Pandas that facilitates working with the data structures of Pandas.