Being fairly new to Python, I was learning the ins and outs of pandas when I noticed this vectorization syntax:
def is_mappable(lat, lon): return ~ (lat == &qu