#458 – FEBRUARY 2, 2021
View in Browser »
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 →
DATADOG sponsor
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
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
Advanced Python Engineer (Newport Beach, CA, USA)
Entry-Level Engineering Programme (London, UK)
Senior Backend Engineer (London, UK)
Backend Engineer (London, UK)
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.
COURIER sponsor
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
Events
Real Python Office Hours (Virtual)
February 3, 2020
REALPYTHON.COM
PyCascades 2021 (Virtual)
February 19 – 21, 2021
PYCASCADES.COM
PyCon 2021 (Virtual)
May 12 – 18, 2021
PYCON.ORG
DjangoCon Europe 2021
June 2 – 6, 2021
DJANGOCON.EU
Happy Pythoning!
This was PyCoder’s Weekly Issue #458.
View in Browser »
[ Subscribe to 🐍 PyCoder’s Weekly 💌 – Get the best Python news, articles, and tutorials delivered to your inbox once a week >> Click here to learn more ]
from Planet Python
via read more
No comments:
Post a Comment