Web: EdmontonPy.com
Twitter: @EdmontonPy
Slack: devedmonton.slack.com
#meetup-edmontonpy
YouTube: Dev Edmonton
Looking for a job? Looking to hire great people?
Please visit #opportunities at devedmonton.slack.com
Looking for a job? Looking to hire great people?
Please visit #opportunities at devedmonton.slack.com
match subject:
case <pattern_1>:
<action_1>
case <pattern_2>:
<action_2>
case <pattern_3>:
<action_3>
case _: # Totally optional, no-op w/o wildcard
<action_wildcard>
<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!
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!
Message one of @aaron.yong, @abram, @data-get
or visit #meetup-edmontonpy on Dev Edmonton Slack
Beginners are encouraged
A talk just has to do with Python in some way 🐍
We ask the winner to provide an email
A Pictionary-like game