Answered step by step
Verified Expert Solution
Question
1 Approved Answer
Write the Python code to store ALL courses that have a course subject of either BIOE or HIST ( ex: BIOE 1 0 0 ,
Write the Python code to store ALL courses that have a course subject of either BIOE or HIST ex: BIOE HIST BIOE HIST etc...
Note: To select BOTH conditionals, instead of just one conditional, use the sign for OR instead of the & sign.
This problem uses the UIUC Course Catalog dataset. It contains information about all of the sections of courses offered at UIUC. This dataset has already been loaded into a variable df for you and contains the following variables columns:
Year number: The year the course section was offered.
Term string: The term the course section was offered Fall Spring, Summer, or Winter
YearTerm string: A formatted combination of the year and term
Subject string: A letter subject code for the course; ex: HIST for History, CS for Computer Science, etc.
Number number: A digit course number
Description string: A short catalog description for the course
Credit Hours string: Course credit hours, formatted as a string
Section Info string empty: Course section specific information
Degree Attributes string empty: Fulfillment of general education credit requirements
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