Edmonton.py

The Edmonton Python User Group

edmontonpy.com
@edmontonpy

edmontonpy.slack.com

Today's talks

A Brief Introduction to Pandas

Matthew Petersen

Events

  • DjangoCon 2018​

October 14-19, San Diego, CA

October 15, Yellowhead Brewery

​Late November

November 10-13, Toronto - CFP closes at September 11

NEXT MEETUP ON TUESDAY, OCTOBER 9TH DUE TO THANKSGIVING

Releases

  • Coverage.py 5.0a2
  • Django-registration 3.0
  • PyDev 6.5.0

Jobs!

Articles

  • Python Pandas: Tricks & Features You May Not Know
  • Bringing macros to Python by abusing type annotations
  • Introduction To Storing Data In Files
  • Working with Asynchronous Celery Tasks - lessons learned
  • Artificial Neural Networks Explained
  • Python Lists in Depth

Python Tip

Keyword-only parameters in Python 3.x

Use * in function parameter lists to force the use of keyword arguments for certain parameters:

Code

class Coordinate:
    def __init__(self, *, latitude=0, longitude=0):
        self.latitude=latitude
        self.longitude=longitude
...


Coordinate(34, 37)
TypeError: __init__() takes 1 positional argument but 3 were given


Coordinate(latitude=34, longitude=37)
Coordinate(longitude=37, latitude=34)

September 2018

By EdmontonPy

September 2018

  • 735