From the course: More Python Tips, Tricks, and Techniques for Data Science
Unlock the full course today
Join today to access over 22,600 courses taught by industry experts or purchase this course individually.
Aggregation and grouping - Python Tutorial
From the course: More Python Tips, Tricks, and Techniques for Data Science
Aggregation and grouping
- [Tutor] So when we're working with large datasets, an essential piece of analysis is efficient summarization. So concepts like computing aggregations using sum, mean, median, minimum, maximum, in which a single number gives insight into the nature of a potentially large dataset. So in this video, we'll explore aggregations in pandas from simple operations, to more sophisticated operations based on the concept of a GroupBy. So here, we are going to use Seaborn Library. Basically, we are using the dataset called penguins. So C one library has this method called load dataset, which can be used to load or use a dataset. So they have couple of datasets available, I'm going use the penguins dataset. And then let's look at what we have in the dataset here, and the dataframe, so it returns a dataframe. And let's look at the first few rows. So if you see that we have Species, Island, Culmen_Length, and then Flipper_Lengths, Body_…
Practice while you learn with exercise files
Download the files the instructor uses to teach the course. Follow along and learn by watching, listening and practicing.