Question: 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
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
