In chapter 2, we began exploring the Series object, a one-dimensional labeled array of homogeneous values. We populated our Series with data from different sources, including lists, dictionaries, and NumPy ndarrays. We observed how pandas assigned each Series value an index label and an index position. We learned how to apply mathematical operations to Series.
With the basics under our belt, we’re ready to explore some real-world data sets! In this chapter, we’ll introduce lots of advanced Series operations, including sorting, counting, and bucketing. We’ll also start to see how these methods can help us derive insights from our data. Let’s dive in.
A CSV is a plain-text file that separates each row of data with a line break and each row value with a comma. The first row in the file holds the column headers for the data. This chapter has three CSV files for us to play with: