๐ก Python radar - July-August 2022
A personal selection of Python-related news and projects that caught my attention this month (note: leading emojis are mine).
๐ค Practical Deep Learning for Coders (course.fast.ai)
A complete and free course (with a free associated book) to practice various DL/ML techniques using PyTorch and fast.ai.
๐งฉ Recipes and Tricks for Effective Structural Pattern Matching in Python (martinheinz.dev)
A series of examples for advanced use of Python's Pattern Matching mechanism (a.k.a. a very advanced switch/case) introduced in Python 3.10.
๐ฆฆ You Should Be Using Python's Walrus Operator - Here's Why (martinheinz.dev)
The same author takes on the walrus operator (this thing -> :=) introduced in Python 3.8, which allows you to assign a value to a variable in the middle of an expression. My take: use it in moderation.
๐ Modin: Scale your pandas workflow by changing a single line of code (modin.readthedocs.io)
In a not-so-great video that Iโll spare you the link to, I discovered this project that could speed up your pandas computations via dask or ray by changing just one line of code, the pandas import line. Worth testing.
๐จ Stable Diffusion with ๐งจ Diffusers (huggingface.co)
You write a sentence and a program generates a beautiful image out of nowhere that represents what you wrote. This is what Stable Diffusion, the latest "text-to-image" model available for free, offers, and this blog post helps you discover and understand it. Stunning.
๐ค Python String Methods to Know (pythonmorsels.com)
As the name suggests, here are some details on the main string manipulation methods to know. There are a couple of lesser-known ones that could be useful to you.