ZERO TO DATA
banner
z2d-dev.bsky.social
ZERO TO DATA
@z2d-dev.bsky.social
👨‍💻 I’m Max — Data Scientist & Pythonista (10+ yrs coding, 6+ yrs pro).
Sharing 🐍 Python best practices, 📊 data science, ⚡tips & 🛠️ workflows (IDE, CI/CD, debugging).
🎯 Level up in data dev! 🚀
📺 YouTube: youtube.com/@z2d_io
🚀 Just launched my Beginner-Friendly Polars Series — a step-by-step guide to learn the fast, modern DataFrame library for Python.

Perfect if you’re coming from pandas or new to data science.

📺 YouTube
youtube.com/playlist?lis...

🧵 Follow this thread for each module 👇
#Python #Polars #DataScience
Beginner-Friendly Polars Data Science - YouTube
This is my beginner-friendly Polars Data Science Series, designed to help you start with Polars or transition smoothly from pandas to Polars.
youtube.com
October 25, 2025 at 4:20 PM
Your code runs perfectly — until the API flakes.

I dug into retry decorators: how to write one with exponential backoff and how Tenacity & Stamina solve it for production.
October 5, 2025 at 8:49 PM
Python decorators don’t have to be a mystery 🧩

I wrote a beginner-friendly guide with practical examples you can copy-paste:

Logging • Timing • Validation

Read here 👉 z2d.io/posts/everyd...
Everyday Python Decorators (Beginner)
Decorators are one of the first mysteries of Python's syntactic sugar. You see them typically above function signatures such as @my_decorator and there are a few use cases where I don't want to miss t
z2d.io
October 1, 2025 at 7:32 PM
⚡️ Want faster Polars?

Cosine similarity is everywhere right now (embeddings, RAG, ranking). I’ll show how to go from a naive row-by-row cosine similarity → a vectorized Polars (pl.Array) approach that’s ~17× faster.

Step-by-step tutorial 👇
September 20, 2025 at 1:11 PM
✨ Big milestone — I just published my first blog post 🚀
Starting my journey in sharing across data topics: software dev → data engineering → data science.

Read it here 👉 z2d.io/posts/polars...

Excited (and a bit nervous) to kick this off. Lots more to come 🎥📊

#ZeroToData #DataDev
Polars Arrays: Fast Cosine Similarity for Adjacent Embeddings
Calculating cosine similarity between consecutive row embeddings in Polars (Python Tutorial) — starting naive, then making it pretty and fast with vectorized arrays.
z2d.io
September 20, 2025 at 1:04 PM