Web: YYC Data Society

Meetup: PyData Calgary



Meetup: PyYYC

YouTube: PyYYC

1-year license giveaway after our main presentation

Local Jobs

Looking for a job? Looking to hire great people?

Please visit #opportunities at

Remote Jobs

Looking for a job? Looking to hire great people?

Please visit #opportunities at


News & Articles

match subject:
    case <pattern_1>:
    case <pattern_2>:
    case <pattern_3>:
    case _: # Totally optional, no-op w/o wildcard

Python 3.10 Tip: PEP 634 & 636

<pattern> supports more than literals

# You can combine several literals in a single "or" pattern
match status:
    case 401 | 403 | 404:
        return "Not allowed" # Okay don't actually do this

# Class ctor-like patterns, and you can add guards!
match point:
    case Point(x, y) if x == y: # if guard is false, tries next case
        print(f"The point is located on the diagonal Y=X at {x}.")
    case Point(x, y):
        print(f"Point is not on the diagonal.")

if/elif/else?  switch/case??  Better!

Tonight's Talk

Customer Churn Machine Learning Analysis with Data Balancing Techniques

Jay Gupta (LinkedIn)

Feel free to post questions in Remo

We will try our best to answer them at the end of the talk, thanks!

Next Meetup

November 24, 2021

Message one of @aaron.yong, @abram, @data-get

or visit #meetup-edmontonpy on Dev Edmonton Slack

We are looking for presenters

Beginners are encouraged

A talk just has to do with Python in some way 🐍

1-year license giveaway time!

We ask the winner to provide an email

Social Game

A Pictionary-like game


  1. Go to the site
  2. Type in a name and click CREATE PRIVATE ROOM
  3. Share the Room URL with your table
  4. Use your table for localized banter 😄
Made with