Watch the live stream:
About the show
Sponsored by us! Support our work through:
Brian #1: Polars: Lightning-fast DataFrame library for Rust and Python
The syntax is very functional and pipeline-esque:
import polars as pl q = ( pl.scan_csv("iris.csv") .filter(pl.col("sepal_length") > 5) .groupby("species") .agg(pl.all().sum()) ) df = q.collect()
Polars User Guide is excellent and looks like it’s entirely written with Python examples.
Michael #2: PSF Survey is out
Brian #3: Gin Config: a lightweight configuration framework for Python
@gin.configurable
It’s in interesting take on config files. (Example from Vincent)
# simulate.py @gin.configurable def simulate(n_samples): ... # config.py simulate.n_samples = 100
You can specify:
def
simulate
@gin.configurable(blacklist=["n_samples"])
dnn.activation_fn = @tf.nn.tanh
Michael #4: Performance benchmarks for Python 3.11 are amazing
Extras
Michael:
Joke: Why wouldn't you choose a parrot for your next application