Question: CMPG 1 1 1 - Pandas and Matplotlib SU 8 _ 1 Filtering and Selecting Write a Python program to filter and select data from
CMPG Pandas and Matplotlib
SU Filtering and Selecting
Write a Python program to filter and select data from the given CSV file using Pandas.
Read the provided CSV file into a Pandas DataFrame.
Filter rows where the course is "Databases" and print the resulting DataFrame.
Filter rows to identify students who are atrisk of failing, meaning any one of their grades are below Print the resulting DataFrame.
Filter rows to identify students with a distinction in "Programming", meaning that they achieved or greater. Print the resulting DataFrame.
Submit your Python script py named: SUpy
SU Grouping and Aggregating
Write a Python program to group data by course and calculate aggregate statistics.
Read the provided CSV file into a Pandas Dataframe.
Group the data by the "Course" column and calculate the average grades for each course. Print the resulting aggregated DataFrame.
Submit your Python script py named: SUpy
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
