Question: # CG Q 3 b # Use the sum ( ) and is . na ( ) functions to count the number of missing values
# CG Qb # Use the sum and isna functions to count the number of missing values in the points column.
# CG Qc # Use the sum and isna functions to count the number of missing values in the price column.
# CG Qd # Use the sum and isna functions to count the number of observations that have a price.
####### Hint: Since the means "not", putting an in front of isna counts the nonmissing values.
# CG Qa # Use the mean function to calculate the average points for the wines in the dataset.
# CG Qb # Use the mean function to calculate the average price for the wines in the dataset.
# CG Qa # Use the mean function to calculate the average points for the Napa Sonoma subregion.
####### Your code should be a single line and will use the square brackets for subsetting.
# CG Qb # Use the mean function to calculate the average price for the Napa Sonoma subregion using a single line of code.
Step by Step Solution
There are 3 Steps involved in it
1 Expert Approved Answer
Step: 1 Unlock
Question Has Been Solved by an Expert!
Get step-by-step solutions from verified subject matter experts
Step: 2 Unlock
Step: 3 Unlock
