←
Marc Garcia478 posts
Marc Garcia avatar

Marc Garcia

@datapythonista

pandas core developer

◷ Joined April 2022▧ 22 Photos and videos
It's FOSS avatar
⟳ Marc Garcia retweeted
It's FOSS@Itsfoss·Nov 12

The Python community has lost one of its early contributors. 🕊️ Guido van Rossum, Python's creator, announced the passing of Tim Peters at the age of 74. Peters was Python's second real user, creator of Timsort, author of the Zen of Python (PEP 20), and a member of the Python Software Foundation board for 13 years. His contributions will live on in the Python ecosystem. Rest in peace, Tim Peters. ❤️

Post attachment
Polars avatar
⟳ Marc Garcia retweeted
Polars@DataPolars·Feb 3

The early design decisions for the Categorical type were under strain because of our streaming engine. Every data chunk carried its own mapping between the categories and their underlying physical values, forcing constant re-encoding. The global StringCache we built to solve it caused lock contention and wasn't designed for a distributed architecture. The new Categories object, released in 1.31, solves this, and gives you: • Control over the physical type (UInt8/16/32) • Named categories with namespaces • Parallel updates without locks • Automatic garbage collection When you know the categories up front you can use Enums. They're faster because of their immutability and allow you to define the sorting order of values. The StringCache is now a no-op, but the code will keep working how it used to (with global Categories). You can also migrate by replacing it with explicit Categories where needed. The result is a Categoricals data type that works well on the streaming engine without performance degradation, and is compatible with a distributed architecture. Read the full deep dive: pola.rs/posts/categoricals-r…

Post attachment
Marc Garcia avatar
Marc Garcia@datapythonista·Jan 27

pandas 3 has been released and marks the most significant evolution of #pandas in over ten years. No more `copy()` everywhere, and no more `lambda` gymnastics. Want examples? Read this hands-on article with the main changes: datapythonista.me/blog/whats…

pandas avatar
⟳ Marc Garcia retweeted
pandas@pandas_dev·8 Jun 2025

We're happy to announce the release of #pandas 2.3.0. You can install it with `pip install pandas` or `conda install -c conda-forge pandas`. Thanks to all contributors and sponsors who made this release possible! The release notes can be found at: pandas.pydata.org/docs/whats…

unusual_whales avatar
⟳ Marc Garcia retweeted
unusual_whales@unusual_whales·22 Nov 2024

Tech occupations have been among the hardest hit by steep declines in hiring since 2018, per BI;

Post attachment
Interesting things avatar
⟳ Marc Garcia retweeted
Interesting things@awkwardgoogle·16 Nov 2024

Possibly the greatest single male athletic performance of all time

0:14
Posts Of Cats avatar
⟳ Marc Garcia retweeted
Posts Of Cats@PostsOfCats·3 Nov 2024

I hope these two never separate 😭❤️

0:49