March 2020
Beginner to intermediate
352 pages
8h 40m
English
We can find the mean values for the numerical column in each group. This can be done using the df.mean() method.
The code for finding the mean is as follows:
# mean() will print mean of numerical column in each groupstyle.mean()
The output of the preceding code is as follows:

Note that we can get the average of each column by specifying a column, as follows:
# get mean of each column of specific groupstyle.get_group("convertible").mean()
The output of the preceding code is as follows:

Next, we can also count the number of symboling/records ...
Read now
Unlock full access