Answered step by step
Verified Expert Solution
Link Copied!

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

Step: 1

blur-text-image

Get Instant Access to Expert-Tailored Solutions

See step-by-step solutions with expert insights and AI powered tools for academic success

Step: 2

blur-text-image

Step: 3

blur-text-image

Ace Your Homework with AI

Get the answers you need in no time with our AI-driven, step-by-step assistance

Get Started

Recommended Textbook for

Structured Search For Big Data From Keywords To Key-objects

Authors: Mikhail Gilula

1st Edition

012804652X, 9780128046524

More Books

Students also viewed these Databases questions