Summary
We stepped through a wide range of strategies for aggregating data using NumPy and pandas in this chapter. We also discussed advantages and disadvantages of each technique, including how to select the most efficient and intuitive approach given your data and the aggregation task. Since most data cleaning and manipulation projects will involve some splitting-applying-combining, it is a good idea to become comfortable with each of these approaches. In the next chapter, we will learn how to combine DataFrames and deal with subsequent data issues.
Join our community on Discord
Join our community’s Discord space for discussions with the author and other readers:
https://discord.gg/p8uSgEAETX