SlugAtlasUC Santa Cruz

ECON 22PIntroduction to Python for Data Science

5 creditsGE MFUndergraduateStudent Option

Introduction to programming in Python with emphasis on commands and workflow useful for data science, especially in economics and other social sciences. Data science applications are interwoven with lessons about basic syntax. Topics of study include variables and operations, containers, Pandas dataframes, conditional statements and conditional slicing of dataframes, loops, advanced string processing, file input/output, functions, and data visualization. This course places less emphasis on object-oriented programming and more emphasis on practical data science applications.

Prerequisites

Enrollment is restricted to proposed and declared economics, business management economics, global economics, economics/mathematics combined, and environmental studies/economics combined majors. Restrictions lifted after first pass enrollment.

  • Restrictions have been removed and enrollment is open to all students starting with first-pass enrollment Please bring a wifi enabled laptop to every lecture; Lecture attendance is required

Find a section and add it to your scheduleLive seat counts, time-conflict checks and the walk from your previous class.

When it runs

Winter 2027Open Winter 2027

SectionTypeWhenWhereInstructorSeats
01Lecture
Mon Wed Fri 4:00pm–5:05pm
PhysSciences 110M. LeungOpen 0/65

Winter 2026Open Winter 2026

SectionTypeWhenWhereInstructorSeats
01Lecture
Mon Wed Fri 4:00pm–5:05pm
Merrill Acad 102M. LeungOpen 50/100

Who teaches it

InstructorRatingDifficultyWould take againReviews
Michael Leung5.0 / 53.0 / 5100%5

From RateMyProfessors, which is student-submitted and not a survey. Small review counts move a long way on one bad quarter.

SlugAtlas is a student project and is not affiliated with, endorsed by, or operated by UC Santa Cruz. Course data is a snapshot of the public class search; myUCSC is authoritative for enrolment.