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 100, HIST 100, BIOE 101, HIST 101, 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 2-4 letter subject code for the course; ex: HIST for History, CS for Computer Science, etc.
Number (number): A 1-3 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 blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Databases Questions!