In this chapter, we tackle the question of rearranging data in our data structures. We examine the various functions that enable us to rearrange data by utilizing them on real-world datasets. Such functions include
append, and so on. The topics that we'll discuss are as follow:
We often detail granular data that we wish to aggregate or combine based on a grouping variable. We will illustrate some ways of doing this in the following sections.
groupby operation can be thought of as part of a process that involves the following ...