EdmontonPy
Inspired by the Python community, we hope to foster a strong, supportive, and proficient Python community in the Edmonton area.
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
def calculate_windowed_avg(
measurements: Union[List[TemperatureMeasurement], List[HumidityMeasurement]],
...
) -> Dict[datetime, float]:
window_upper_bound = measurements[0].timestamp + window_size
...
Source: Daan Debbie's blog
Avoid unwieldy type hints like this:
from typing import Protocol, List, Dict
from datetime import datetime
class MeasurementLike(Protocol):
timestamp: datetime
def calculate_windowed_avg(
measurements: List[MeasurementLike],
...
) -> Dict[datetime, float]:
window_upper_bound = measurements[0].timestamp + window_size
...
Use protocols:
Data Science as a Platform:
DeepSea Analytics
Peter Guo (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
By EdmontonPy
Inspired by the Python community, we hope to foster a strong, supportive, and proficient Python community in the Edmonton area.