Issue #478

Pivot and Plot Data With Pandas, The Future of FastAPI and Pydantic, Complex Numbers in Python, And More

June 22, 2021

Pivot and Plot Data With Pandas, The Future of FastAPI and Pydantic, Complex Numbers in Python, And More
#478 – JUNE 22, 2021 VIEW IN BROWSER
The PyCoder’s Weekly Logo
How to Pivot and Plot Data With Pandas
One of the challenges of working with data is knowing how to manipulate the data format for a particular analysis. And there’s no single correct format. You need to know how to melt, pivot, and transpose data into a format that fits whatever you’re analyzing. If you enjoy this article, be sure to also check out Stefanie’s Pandas Workshop.
STEFANIE MOLIN • Shared by Stefanie Molin

The Future of FastAPI and Pydantic Is Bright
Not long ago there was some chatter on the internet about a change in Python 3.10 that would impact Python projects that check types at runtime. The discussion centered around FastAPI and Pydantic and had some folks worried about the future of those projects. In this article, FastAPI’s creator explains what the discussion was all about and why the future of FastAPI and Pydantic remains bright.
SEBASTIÁN RAMÍREZ • Shared by Alex Mitelman

See for Yourself Why Scout’s a Dev’s Best Friend with a Free 14-Day Trial, No Credit Card Needed
Scout uses tracing logic to tie bottlenecks to source code so developers can get back to building great products instead of wasting time fixing performance issues. Real-time alerting gives you the insights you need in 4 min or less! Deploy today and we’ll donate $5 to the OSS project of your choice →
SCOUT APMsponsor

Simplify Complex Numbers With Python
In this tutorial, you’ll learn about the unique treatment of complex numbers in Python. Complex numbers are a convenient tool for solving scientific and engineering problems. You’ll experience the elegance of using complex numbers in Python with several hands-on examples.
REAL PYTHON

Ewa Jodlowska to Step Down as PSF Executive Director
PYTHON SOFTWARE FOUNDATION

Psycopg 2.9 Released
PSYCOPG.ORG

EuroPython 2021: Schedule Published
EUROPYTHON.EU

Python 3.10.0b3 Is Available
CPYTHON DEV BLOG


Discussions


Why Is Python Recursion So Expensive and What Can We Do About It?
Recursion can be a useful technique, but it has its limitations. Recursion can make code difficult to reason about and, in Python, recursion depth is limited. The accepted answer in this Stack Overflow thread introduces a clever technique for transforming recursion to iteration.
STACK OVERFLOW


Python Jobs


Senior Software Engineer
TRUVERIS 📍 REMOTE

Software Engineer
CLOSE 📍 REMOTE

Senior Python Engineer
DEVSDATA LLC 📍 REMOTE

Principal Engineer/Software Architect
KIMETRICA 📍 WASHINGTON, D.C., USA

More Python Jobs >>>


Articles & Tutorials


Expanding the International Python Community With the PSF
The popularity of Python is continuing to grow Developers across the globe are embracing the language. How is Python being used in all of these different countries? How does an organization like the Python Software Foundation (PSF) work toward the goals in its mission statement for supporting and growing this international community? In this episode of the Real Python Podcast, you’ll meet Marlene Mhangami, a PSF board member and part of the Diversity and Inclusion Work Group.
REAL PYTHON podcast

Git for Computer Scientists
In some traditional academic settings, computer science is taught without regard for software engineering best practices. Yet many computer science graduates find their way into the software workforce where they discover that some of the tools of the trade, such as git, can be confusing to work with. This article offers a quick introduction to git in language that a computer scientist will understand.
TV

Data Science & Analytics Bootcamps to Fit Your Schedule
Join a Metis Online Flex Bootcamp to work on your own schedule with on-demand lectures, while still getting dedicated 1:1 instructor support. You’ll also get focused career support until you’re hired! Explore your options and start your journey today →
METISsponsor

Working With Linear Systems in Python With scipy.linalg
In this tutorial, you’ll learn how to apply linear algebra concepts to practical problems, how to work with vectors and matrices using Python and NumPy, how to model practical problems using linear systems, and how to solve linear systems using scipy.linalg.
REAL PYTHON

How to Troubleshoot Memory Problems in Python
Memory problems can be frustrating. They’re hard to diagnose and fix, and memory issues in Python applications can be especially frustrating thanks to the language’s garbage collection system. In this article, you’ll learn a six-step process for troubleshooting memory problems that the EvalML team used to solve a tricky problem with their library.
FREDDY BOULTON

Run Python Faster and Safer than Linux with Open Source Unikernels
The Nanos unikernel allows you to run your python workloads faster than linux and safer than linux - best of all it’s free and open source. Run your first unikernel in minutes!
NANOSsponsor

Python vs JavaScript for Python Developers
Python and JavaScript are two of the most popular programming languages in the world. In this course, you’ll take a deep dive into the JavaScript ecosystem by comparing Python vs JavaScript. You’ll learn the jargon, language history, and best practices from a Pythonista’s perspective.
REAL PYTHON course

Basic and Full-Text Search With Django and Postgres
Full-text search can be challenging to set up and maintain. Luckily, the Postgres database supports full-text search and Django can use it out-of-the-box. Learn how to add both basic and full-text search to your Django applications in this in-depth tutorial.
SAMUEL TORIMIRO • Shared by Michael Herman


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 →

pinout: Generate Hardware Pinout Diagrams as SVG Images
GITHUB.COM/J0ONO0

PythonProgrammingPuzzles: A Dataset of Python Challenges for AI Research
GITHUB.COM/MICROSOFT

pyunity: A Python Implementation of the Unity Engine
GITHUB.COM/PYUNITY

Kats: A Kit to Analyze Time Series Data
GITHUB.COM/FACEBOOKRESEARCH

pyquake: Various Parts of Quake 1 Ported Into Python
GITHUB.COM/MATTHEWEARL

📆🐍 Upcoming Python Events


Real Python Office Hours (Virtual)
June 23, 2021

DigitalOcean deploy: Power Your Business
June 29, 2021

PyBirras 2021 (Virtual)
July 8, 2021

EuroPython 2021 (Virtual)
July 26 – August 1, 2021

PyCon India 2021 (Virtual)
September 17 – 20, 2021
Happy Pythoning!
Copyright © 2021 PyCoder’s Weekly, All rights reserved.