Issue #718

pandas 3.0, deque, tprof, and More

Jan. 20, 2026

pandas 3.0, deque, tprof, and More
#718 – JANUARY 20, 2026 VIEW IN BROWSER
The PyCoder’s Weekly Logo
What’s New in pandas 3.0
Learn what’s new in pandas 3.0: pd.col expressions for cleaner code, Copy-on-Write for predictable behavior, and PyArrow-backed strings for 5-10x faster operations.
CODECUT.AI • Shared by Khuyen Tran

Python’s deque: Implement Efficient Queues and Stacks
Use a Python deque to efficiently append and pop elements from both ends of a sequence, build queues and stacks, and set maxlen for history buffers.
REAL PYTHON

B2B Authentication for any Situation - Fully Managed or BYO
What your sales team needs to close deals: multi-tenancy, SAML, SSO, SCIM provisioning, passkeys…What you’d rather be doing: almost anything else. PropelAuth does it all for you, at every stage. →
PROPELAUTHsponsor

Introducing tprof, a Targeting Profiler
Adam has written tprof a targeting profiler for Python 3.12+. This article introduces you to the tool and why he wrote it.
ADAM JOHNSON

Python 3.15.0 Alpha 4 Released
CPYTHON DEV BLOG


Articles & Tutorials


Anthropic Invests $1.5M in the PSF
Anthropic has entered a two-year partnership with the PSF, contributing $1.5 million. The investment will focus on Python ecosystem security including advances to CPython and PyPI.
PYTHON SOFTWARE FOUNDATION

The Coolest Feature in Python 3.14
Svaannah has written a debugging tool called debugwand that help access Python applications running in Kubernetes and Docker containers using Python 3.14’s sys.remote_exec() function.
SAVANNAH OSTROWSKI

AI Code Review with Comments You’ll Actually Implement
Unblocked is the AI code review that surfaces real issues and meaningful feedback instead of flooding your PRs with stylistic nitpicks and low-value comments. “Finally, a tool that surfaces context only someone with a full view of the codebase could provide.” - Senior developer, Clio →
UNBLOCKEDsponsor

Avoiding Duplicate Objects in Django Querysets
When filtering Django querysets across relationships, you can easily end up with duplicate objects in your results. Learn why this happens and the best ways to avoid it.
JOHNNY METZ

diskcache: Your Secret Python Perf Weapon
Talk Python interviews Vincent Warmerdam and they discuss DiskCache, an SQLite-based caching mechanism that doesn’t require you to spin up extra services like Redis.
TALK PYTHON podcast

How to Create a Django Project
Learn how to create a Django project and app in clear, guided steps. Use it as a reference for any future Django project and tutorial you’ll work on.
REAL PYTHON

Get Job-Ready With Live Python Training
Real Python’s 2026 cohorts are open. Python for Beginners teaches fundamentals the way professional developers actually use them. Intermediate Python Deep Dive goes deeper into decorators, clean OOP, and Python’s object model. Live instruction, real projects, expert feedback. Learn more at realpython.com/live →
REAL PYTHONsponsor

Quiz: How to Create a Django Project
REAL PYTHON

Intro to Object-Oriented Programming (OOP) in Python
Learn Python OOP fundamentals fast: master classes, objects, and constructors with hands-on lessons in this beginner-friendly video course.
REAL PYTHON course

Fun With Mypy: Reifying Runtime Relations on Types
This post describes how to implement a safer version of typing.cast which guarantees a cast type is also an appropriate sub-type.
LANGSTON BARRETT

How to Type Hint a Decorator in Python
Writing a decorator itself can be a little tricky, but adding type hints makes it a little harder. This article shows you how.
MIKE DRISCOLL

How to Integrate ChatGPT’s API With Python Projects
Learn how to use the ChatGPT Python API with the openai library to build AI-powered features in your Python applications.
REAL PYTHON

Quiz: How to Integrate ChatGPT’s API With Python Projects
REAL PYTHON

Raw String Literals in Python
Exploring the pitfalls of raw string literals in Python and why backslash can still escape some things in raw mode.
SUBSTACK.COM • Shared by Vivis Dev

Need a Constant in Python? Enums Can Come in Useful
Python doesn’t have constants, but it does have enums. Learn when you might want to use them in your code.
STEPHEN GRUPPETTA


Projects & Code


Brought to you by Real Python for Teamssponsor
Online Python training created by a community of experts. Give your team the real-world Python skills they need to succeed →

usqlite: μSQLite Library Module for MicroPython
GITHUB.COM/SPATIALDUDE

transtractor-lib: PDF Bank Statement Extraction
GITHUB.COM/TRANSTRACTOR

sharepoint-to-text: Sharepoint to Text
GITHUB.COM/HORSMANN

graphqlite: Graph Database SQLite Extension
GITHUB.COM/COLLIERY-IO

chanx: WebSocket Framework for Django Channels, FastAPI, and ASGI-based Applications
GITHUB.COM/HUYNGUYENGL99

📆🐍 Upcoming Python Events


Weekly Real Python Office Hours Q&A (Virtual)
January 21, 2026

Python Leiden User Group
January 22, 2026

PyDelhi User Group Meetup
January 24, 2026

PyLadies Amsterdam: Robotics Beginner Class With MicroPython
January 27, 2026

Python Sheffield
January 27, 2026

Python Southwest Florida (PySWFL)
January 28, 2026
Happy Pythoning!
Copyright © 2026 PyCoder’s Weekly, All rights reserved.