Event box
Python Basics (4 of 5): Logical Conditions and Iteration
Python Basics for Data Analysis Series
This series of introductory workshops are intended for individuals with little to no familiarity with Python or similar tools that rely on a scripted environment. They are intended as a low barrier entry into the world of research computing through the Python language.
Logical Conditions and Iteration (workshop 4 of 5): This session will introduce logical conditions and iteration in Python. Participants will revisit the vector underpinnings of pandas, learn functions for iterating or looping over objects, and be introduced to for loops and if/else constructs.
By the end of this session, participants will be able to effectively implement simple conditional statements into their data analysis pipelines and efficiently apply looped constructs to their data, using pre-existing tools in pandas as well as constructing for loops to handle repeated tasks.
Questions? Please reach out to the Centre for Scholarly Communication at csc.ok@ubc.ca.
A full schedule of workshops can be found at csc.ok.ubc.ca/workshops/