Join Jonathan Fernandes for an in-depth discussion in this video Groupby computations, part of pandas Essential Training.
- [Instructor] There are several functions…you can perform on a groupby object.…The size function was gives you a count of each group…is particularly helpful.…But there are several others.…Here's a helpful real world tip.…Many times you might want to use the aggregation function.…The aggregation function, AGG,…allows multiple statistics to be calculated per group…in one calculation.…Instructions for aggregation are provided…in the form of a python dictionary or a list.…
And the dictionary keys…are where you specify which series or columns…in your data frame you want to perform the operations…and the actual dictionary values…specify the function to run.…You can also pass custom functions…to the list of aggregated calculations…and each will be passed the values…from the column in your grouped data.…Groupby is a very useful Pandas function…and it's worth your time…making sure you understand how to use it.…Let's head over to the Jupyter Notebook…to look at a couple of examples.…
As we mentioned earlier, one of the useful functions…
- Working with plots
- Boolean indexing
- String handling
- Grouping data
- Creating your own colormaps
Skill Level Intermediate
1. Technical Setup
2. Series and DataFrames
3. Data Input and Validation
4. Basic Analysis
5. Basic Plotting
9. Data Visualizations
Next steps1m 1s
- Mark as unwatched
- Mark all as unwatched
Are you sure you want to mark all the videos in this course as unwatched?
This will not affect your course history, your reports, or your certificates of completion for this course.Cancel
Take notes with your new membership!
Type in the entry box, then click Enter to save your note.
1:30Press on any video thumbnail to jump immediately to the timecode shown.
Notes are saved with you account but can also be exported as plain text, MS Word, PDF, Google Doc, or Evernote.