Learn Python for data science and AI, at your own pace
Python 2: Data Science and AI Applications is a self-paced, intermediate Python course from WatSPEED at the University of Waterloo. You learn to clean, analyze, and visualize real data with NumPy, pandas, Matplotlib, and Seaborn, the core Python libraries behind data science, machine learning, and artificial intelligence. Enrolment is continuous, so you can start anytime and work on your own schedule.
Python is the most widely used language for data science and research, and employers increasingly look for people who can go beyond basic code to work with real datasets. Python 2 builds on Python I and prepares you for technical, data-based roles and for WatSPEED's Data Science Certificate, AI Certificate, as well as the Back-End and Intelligent Systems Development Certificate.
What you will learn
By the end of Python 2, you will be able to:
- Use NumPy for numerical computing: create and manipulate arrays, use aggregate functions, and apply fancy indexing, masking, broadcasting, and vectorization.
- Manipulate data with pandas: read and write CSV and JSON files, navigate and update DataFrames, and apply groupby, pivot tables, merges, joins, and reshaping.
- Clean messy data: identify and handle missing, corrupt, or inconsistent data in large datasets.
- Write reliable code: apply testing, logging, timing, and regular expressions, and work with dates and time zones.
- Visualize data with Matplotlib: combine NumPy and pandas with Matplotlib to build bar graphs, pie charts, scatter plots, and box-and-whisker plots.
- Create statistical charts with Seaborn: build distribution, joint, bar, count, box, and violin plots, and customize them for reports.
Each module works through two fully worked, real-world examples that apply across industries.
Course modules
| Module | Topics |
|---|---|
| Module 1: Introduction to NumPy | Introduction to NumPy, arithmetic in NumPy, Boolean operators |
| Module 2: Advanced NumPy | Broadcasting and vectorization, array methods, array manipulations |
| Module 3: Other Python Modules | Time and timeit, datetime and zoneinfo, CSV, JSON, regular expressions, logging, ipytest |
| Module 4: Pandas | Introduction to pandas, DataFrame navigation, altering and adding data, time efficiency, NumPy integrations, pandas methods |
| Module 5: Advanced pandas | Group by and aggregate functions, stacking and unstacking, pivot tables, concatenations, merges, and joins |
| Module 6: Data Munging | Handling large datasets, NA values and corrupt data; adding, removing, and forward and back filling |
| Module 7: Graphing and Matplotlib | NumPy polynomials, NumPy methods for graphing, plotting and customizing with Matplotlib |
| Module 8: Seaborn | Plotting with Seaborn, advanced plotting techniques, customizations in Seaborn |
How the course works
Learn at your own pace
Start anytime! About 40 hours in total. Many learners spend up to five hours a week and finish in about eight weeks.
Code in your browser
Texts, videos, and interactive exercises on the Open edX platform. No software to install.
Earn your certificate
Complete module quizzes with a grade of 70 per cent to earn a University of Waterloo certificate.
- Connect with other learners through online discussion boards.
- Receive immediate feedback on quizzes and interactive course components.
Who should enrol
Python 2 is a perfect fit if you have completed Python I or already know Python basics, and you want to work with real data. It is ideal for:
- Aspiring data scientists building a foundation in data manipulation and visualization.
- Data analysts who want to handle and analyze large datasets in Python instead of spreadsheets.
- Business and financial analysts who need to turn data into insight for reporting and decisions.
- Researchers in academia or industry who process and visualize data for projects.
- Software developers adding data analysis and visualization to their applications.
- Aspiring machine learning professionals who need solid data handling and preprocessing skills.
Prerequisites
Complete Python I: Introduction to Python Programming or have equivalent knowledge, including functions, loops, conditionals, lists, and dictionaries.
System requirements
- The course runs on the Open edX platform and works best in Google Chrome or Mozilla Firefox. Safari and Microsoft Edge are not recommended.
- No software is needed. All exercises are completed within the course.
Your course author
Where Python 2 takes you
Python 2 is step two in WatSPEED's pathway from first line of code to AI. Choose the next step that fits your goals.
Data Science and AI
- Step 1Python I
- Step 2 | You are herePython 2: Data Science and AI Applications
- Data scienceData Science Certificate
- AIAI Certificate
Intelligent System Development
- Step 1Python I
- Step 2 | You are herePython 2: Data Science and AI Applications
- SoftwareBack-End and Intelligent Systems Development
See all options on our AI and machine learning courses page.
Learn alongside your team
Receive a certificate from the University of Waterloo
When you complete the course, you receive a professional education certificate from the University of Waterloo, one of Canada's leading universities for computer science. Add it to your resume and LinkedIn profile to show employers your data skills.
Sign up for more information!
Complete the form below to receive course details and free workshop invitations by email.
New to Python?
Start with Python I: Introduction to Python Programming. No coding experience needed.
Questions? Let's chat!
Office hours: Monday to Friday, 8:30 a.m. - 4:30 p.m. ET
Frequently asked questions
What is Python 2: Data Science and AI Applications?
Python 2 is a self-paced, intermediate Python course from WatSPEED at the University of Waterloo. It teaches NumPy, pandas, Matplotlib, and Seaborn so you can clean, analyze, and visualize data for data science, machine learning, and AI work. It costs $549, takes about 40 hours and awards a University of Waterloo professional education certificate.
When can I start Python 2?
Python 2 - self paced course will be launching soon! The course was developed for continuous enrolment and there are no fixed intake dates so learners can start anytime and work at their own pace.
Do I need to know Python before taking Python 2?
Yes. You should complete Python I or have equivalent knowledge of Python basics, including functions, loops, conditionals, lists and dictionaries. If you have never coded, start with Python I.
How long does Python 2 take?
Python 2 is about 40 hours of learning across eight modules. Many learners spend up to five hours a week and finish in about eight weeks, but you can move faster or slower because the course is self-paced.
Which Python libraries does Python 2 cover?
Python 2 covers NumPy for numerical computing, pandas for data manipulation, Matplotlib for plotting and Seaborn for statistical visualization. It also covers useful standard modules for working with dates, CSV and JSON files, regular expressions, logging, timing, and testing code.
Do I need to install any software?
No. All exercises run in your web browser on the Open edX platform. Google Chrome or Mozilla Firefox is recommended.
How much does Python 2 cost?
Python 2 costs $549 plus applicable taxes. Alumni and team discounts are available, including 15 per cent off when three or more people from the same organization register. View discounts.
Will I get a certificate?
Yes. Learners who achieve a grade of 70 per cent or higher on the module quizzes receive a professional education certificate from the University of Waterloo.
Who created Python 2?
Python 2 was written by Dr. Carmen Bruni, Associate Professor, Teaching Stream, in the University of Waterloo's David R. Cheriton School of Computer Science and a recipient of the Killam Graduate Teaching Award.
Is Python 2 good preparation for machine learning and AI?
Yes. Data preparation with NumPy and pandas is the foundation of machine learning and AI work. After Python 2, learners often take Python for Machine Learning, Supervised Machine Learning, the Data Science Certificate or the AI Certificate.
What should I take after Python 2?
For analytics, continue to the Data Science Certificate. For AI, continue to the AI Certificate. For software development, explore the Back-End and Intelligent Systems Development Certificate.
Can my team take Python 2 together?
Yes. Continuous enrolment lets team members start when it suits them. Organizations save 15 per cent when three or more employees register, and WatSPEED also offers custom Python, data and AI training for groups.