Answered step by step
Verified Expert Solution
Question
1 Approved Answer
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
Step: 1
Get Instant Access to Expert-Tailored Solutions
See step-by-step solutions with expert insights and AI powered tools for academic success
Step: 2
Step: 3
Ace Your Homework with AI
Get the answers you need in no time with our AI-driven, step-by-step assistance
Get Started