Alabama Southern Community College Python Worksheet
Description
Unformatted Attachment Preview
“BoyOrGirl”: [
“Boy”,
“Boy”,
“Boy”,
“Girl”,
“Boy”,
“Girl”,
“Boy”,
“Boy”,
“Girl”,
“Girl”,
“Boy”,
“Boy”,
],
“TestScore”: [25, 94, 57, 62, 70, 25, 94, 57, 62, 70, 62, 70],
}
In [ ]:
# Task 14: Create a pandas dataframe
In [ ]:
# Task 15: Group by using gender and display the list of test score genderwise
In [ ]:
# Task 16: Find the sum, mean and max of test score gender wise (Boys vs Girls)
# Use lambda function (to find the min and max range value)
# explore aggregate function of groupby
Purchase answer to see full
attachment
Have a similar assignment? "Place an order for your assignment and have exceptional work written by our team of experts, guaranteeing you A results."