pandas Memory Explosions, Python Performance, a Case Against OOP, and More

#458 – FEBRUARY 2, 2021 VIEW IN BROWSER
The PyCoder’s Weekly Logo
Finding and Fixing an Unexpected Memory Explosion in Pandas
Storing string columns as categories can result in massive memory savings when working with large dataframes in pandas. However, those savings can surprisingly disappear when you start concatenating dataframes. In this article, you’ll learn why, and find out how to fix it.
MARTIN JONES • Shared by Martin Jones

Constant Folding in Python
Every programming language aims to be performant and Python is no exception. Take a dive deep into Python internals and find out how Python makes its interpreter performant using a technique called constant folding.
ARPIT BHAYANI

Visualize and Optimize Your Python App Performance With Datadog APM
Datadog APM generates detailed flame graphs from real requests so you can see which services or calls are generating errors or contributing to overall latency. Dive deeper into your production code with an always-on code profiler to troubleshoot. Start monitoring your applications with a free trial →
DATADOGsponsor

Pyston 2.1 Is Blowing Past Python 3.8/3.9 Performance
Pyston is an alternative Python interpreter. According to these benchmarks, it’s significantly outperforming Python 3.8 and 3.9.
MICHAEL LARABEL

Stochastic Gradient Descent Algorithm With Python and NumPy
Learn what the stochastic gradient descent algorithm is, how it works, and how to implement it with Python and NumPy.
REAL PYTHON

DjangoCon Europe 2021 Announced
DJANGO SOFTWARE FOUNDATION

spaCy v3.0 Released
EXPLOSION.AI

NumPy 1.20.0 Released
NUMPY.ORG


Discussions


Guido and Eric Idle Converse on Twitter
Python creator Guido van Rossum and Monty Python actor (and IDLE namesake) chat about the Python programming language on Twitter.
TWITTER.COM/ERICIDLE


Python Jobs


How Strong Is Your Resume?sponsor
Get a free, confidential review from a resume expert →

Advanced Python Engineer (Newport Beach, CA, USA)
RESEARCH AFFILIATES

Entry-Level Engineering Programme (London, UK)
TESSIAN

Senior Backend Engineer (London, UK)
TESSIAN

Backend Engineer (London, UK)
TESSIAN

More Python Jobs >>>


Articles & Tutorials


Django and Pydantic
Learn how to integrate Pydantic with a Django application using the Pydantic-Django and Django Ninja packages.
NIK TOMAZIC • Shared by Michael Herman

Python Web Applications: Deploy Your Script as a Flask App
In this tutorial, you’ll learn how to go from a local Python script to a fully deployed Flask web application that you can share with the world.
REAL PYTHON

OO in Python Is Mostly Pointless
Is object-oriented programming a pointless paradigm? Maybe, maybe not. But it’s worth considering alternatives when deciding how to write your code. Read the article for an argument against OOP and then follow the Hacker News discussion for the debate.
LEON TROLSKI opinion

Courier: The Fastest Way to Build Notifications for Your Python App
Send notifications from your Python app in just a few lines of code. One API to reach users over Email, SMS, Push, Slack, and more. Design notifications in a drag & drop editor, manage user preferences, and troubleshoot quickly. Get started for free.
COURIERsponsor

Database Constraints in Django
Learn about the various database constraints Django supports to ensure data integrity.
STEVEN PATE • Shared by Steven Pate

Processing Images in Python With Pillow
Are you interested in processing images in Python? Do you need to load and modify images for your Flask or Django website or CMS? Then you most likely will be working with Pillow, the friendly fork of PIL, the Python imaging library. This week on the show, we have Mike Driscoll, who is writing a new book about image processing in Python.
REAL PYTHON podcast

Messing Around With the Python Shell
This is a fun little experiment aiming to mix bash and Python. While not meant to be taken too seriously, it’s an interesting look at using the subprocess module.
BAIRAKTARIS KONSTANTINOS

Plot With Pandas: Python Data Visualization Basics
In this course, you’ll get to know the basic plotting possibilities that Python provides in the popular data analysis library pandas. You’ll learn about the different kinds of plots that pandas offers, how to use them for data exploration, and which types of plots are best for certain use cases.
REAL PYTHON


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 →

sailboat: A Quick and Easy Way to Distribute Your Python Projects!
GITHUB.COM/COLE-WILSON

bleak: Bluetooth Low Energy Platform Agnostic Klient for Python
GITHUB.COM/HBLDH

Gistfinder: Fuzzy-Search Your Gists From the Terminal
GITHUB.COM/ROBDMC • Shared by Rob deCarvalho

schedule v1.0.0: Job Scheduling for Humans
PYPI.ORG

Math Inspector: A Visual Programming Environment for Scientific Computing With NumPy and SciPy
MATHINSPECTOR.COM

📆🐍 Upcoming Python Events


⋅ Real Python Office Hours (Virtual) February 3, 2020

⋅ PyCascades 2021 (Virtual) February 19 – 21, 2021

⋅ PyCon 2021 (Virtual) May 12 – 18, 2021

⋅ DjangoCon Europe 2021 June 2 – 6, 2021
Happy Pythoning!
Copyright © 2021 PyCoder’s Weekly, All rights reserved.
You are receiving this email because you opted in on our website at pycoders.com
Our mailing address: DevCademy Media Inc. · #720-999 West Broadway, Vancouver BC V5Z 1K5, Canada

Unsubscribe | Update Email Address

Older messages

Automating Excel, Tracing the Python GIL, Python for Non-Developers, and More

Tuesday, January 19, 2021

Automating Excel File Creation and Distribution With Pandas And Outlook #456 – JANUARY 19, 2021 VIEW IN BROWSER The PyCoder's Weekly Logo Automating Excel File Creation and Distribution With Pandas

Pythonic Exercises, FastAPI App Structure, Data Visualization With Dash, and More

Tuesday, January 12, 2021

Advent of Code 2020 "Pytudes" #455 – JANUARY 12, 2021 VIEW IN BROWSER The PyCoder's Weekly Logo Advent of Code 2020 “Pytudes” Google researcher Peter Norvig goes through a suite of short

Ditching Excel for Python, How Python Attributes Work, IP Addresses in Python, and More

Tuesday, January 5, 2021

Ditching Excel for Python: Lessons Learned From a Legacy Industry #454 – JANUARY 5, 2021 VIEW IN BROWSER The PyCoder's Weekly Logo Ditching Excel for Python: Lessons Learned From a Legacy Industry

10 Million Jupyter Notebooks, Python on GPUs, Unravelling Boolean Operators, and More

Tuesday, December 29, 2020

Accelerating Python on GPUs With `nvc++` and Cython #453 – DECEMBER 29, 2020 VIEW IN BROWSER The PyCoder's Weekly Logo Accelerating Python on GPUs With nvc++ and Cython Python on GPUs has become a

Python Pickles, Chess From Scratch, Python Speed, and More

Tuesday, December 22, 2020

Python Software Foundation 2020 Fundraiser #452 – DECEMBER 22, 2020 VIEW IN BROWSER The PyCoder's Weekly Logo Python Software Foundation 2020 Fundraiser “COVID-19 has changed all aspects of our

You Might Also Like

SRE Weekly Issue #464

Thursday, February 27, 2025

View on sreweekly.com A message from our sponsor, incident.io: For years, on-call has felt more like a burden than a solution. But modern teams are making a change. On Feb 26 at 1 PM EST, hear why—and

Hands On: New VS Code Insiders Build Creates Web Page from Image in Seconds, More

Thursday, February 27, 2025

Home | News | How To | Webcasts | Whitepapers | Advertise .NET Insight February 27, 2025 THIS ISSUE SPONSORED BY: ■ Visual Studio Live! Las Vegas: .NET Developer Training Conference ■ VSLive! 4-Day

Re: Tomorrow's Password Class: How to sign up!

Thursday, February 27, 2025

Hi there, Do you reuse passwords? Do you struggle to remember unique passwords across accounts? Have you tried setting up a password manager but found it to be a hassle? You might not realize how

Documenting Event-Driven Architecture with EventCatalog and David Boyne

Thursday, February 27, 2025

If you're wondering on how to document Event-Driven Architecture, or you don't know that you should, I have something for you. We discussed with David Boyne, why data governance practices and

wpmail.me issue#708

Thursday, February 27, 2025

wpMail.me wpmail.me issue#708 - The weekly WordPress newsletter. No spam, no nonsense. - February 27, 2025 Is this email not displaying correctly? View it in your browser. News & Articles Shaping

Hackers stole 1Password logins - here's how

Thursday, February 27, 2025

Amazon AI races ahead; Research agents; Smartwatch trade-in -- ZDNET ZDNET Tech Today - US February 27, 2025 thief stealing passwords Hackers stole this engineer's 1Password database. Could it

New Golang-Based Backdoor Uses Telegram Bot API for Evasive C2 Operations

Thursday, February 27, 2025

THN Daily Updates Newsletter cover ⚡ LIVE WEBINAR ➟ Building Resilient Identity: Reducing Security Debt in 2025 Attacks Evolve, So Can Your Defenses--Learn How to Mitigate Risk and Optimize Identity

Reminder: What developer productivity metrics actually measure

Thursday, February 27, 2025

You are receiving this email because you subscribed to microservices.io. Considering migrating a monolith to microservices? Struggling with the microservice architecture? I can help: architecture

⚡ THN Weekly Recap: Google Secrets Stolen, Windows Hack, New Crypto Scams & More

Thursday, February 27, 2025

From Google espionage to crypto scams, this week's Cyber Recap uncovers it all—read more now ͏ ‌ ͏ ‌ ͏ ‌ ͏ ‌ ͏ ‌ ͏ ‌ ͏ ‌ ͏ ‌ ͏ ‌ ͏ ‌ ͏ ‌ ͏ ‌ ͏ ‌ ͏ ‌ ͏ ‌ ͏ ‌ ͏ ‌ ͏ ‌ ͏ ‌ ͏ ‌ ͏ ‌ ͏ ‌ ͏ ‌ ͏ ‌ ͏ ‌ ͏ ‌

Guest-post: Open-source Python Development Landscape

Thursday, February 27, 2025

30 must-know tools for Python development ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏