Issue #487

Efficient Queues and Stacks, 25 Pandas Function You Might Not Know, Graph Data Analysis, and More

Aug. 24, 2021

Efficient Queues and Stacks, 25 Pandas Function You Might Not Know, Graph Data Analysis, and More
#487 – AUGUST 24, 2021 VIEW IN BROWSER
The PyCoder’s Weekly Logo
Python’s deque: Implement Efficient Queues and Stacks
In this step-by-step tutorial, you’ll learn about Python’s deque and how to use it to perform efficient pop and append operations on both ends of your sequences. Deques are commonly used to build queues and stacks.
REAL PYTHON

25 Pandas Functions You Didn’t Know Existed
Did you know that you can style the pandas DataFrame output in a notebook? This listicle covers twenty-five pandas functions that you may not have heard of, including .explode(), .squeeze(), and the pandas DataFrame styler. There’s something in this article for everyone, so read it to find out how you can take your pandas skills to the next level.
BEX T.

What if Your Project Management Tool Was Fast and Intuitive? Try Clubhouse.io (Soon to Be Shortcut)
Imagine how much more you could get done if your project management tools didn’t make you sigh. Clubhouse is the ideal solution for task management, bug tracking, iteration planning, and reporting. Delight the scrum gods and give us a try →
CLUBHOUSEsponsor

Graph Data Science With Python and NetworkX
Graph theory network analysis can yield deep data insights that are difficult to tease out via alternative methods. Get a taste of what graph analysis can do in this quick, hands-on tutorial that uses NetworkX to create and analyze a graph.
FEDERICO ALBANESE • Shared by Kevin Bloch

Shamika Mohanan Has Joined the PSF as Packaging Project Manager
PYTHON SOFTWARE FOUNDATION


Python Jobs


Data Engineer
RESEARCH AFFILIATES 📍 NEWPORT BEACH, CA, USA

Senior Backend Developer
GUTS TICKETS 📍 AMSTERDAM, NETHERLANDS

Backend Software Engineer
CATALPA INTERNATIONAL 📍 REMOTE

Python Developer
TESSIAN 📍 REMOTE

Software Developer
UNIVENTION GMBH 📍 REMOTE

More Python Jobs >>>


Articles & Tutorials


Exploring the Python math Module
In this step-by-step course, you’ll learn all about Python’s math module for higher-level mathematical functions. Whether you’re working on a scientific project, a financial application, or any other type of programming endeavor, you just can’t escape the need for math!
REAL PYTHON course

Design a Camera with Python and PyRayT
Camera lenses are more complex than you might think. If you cut open a camera to look at a cross-section, you’d see that a lens is actually made up of several smaller lenses. This article explores how camera lenses work using a new Python raytracing project called PyRayT that’s designed for designing optical systems.
RYAN FRAZIER • Shared by Ryan Frazier

Cheat Sheet: 9 Python Security Best Practices
Most Python frameworks like Django have debugging switched on by default. Set DEBUG = False in production to prevent information leaks, plus learn 8 more tips in the Python security cheat sheet →
SNYK.IOsponsor

Creating a PDF Invoice Using borb
Creating PDFs from scratch programmatically can be a challenge. There’s a new Python project called borb that aims to simplify PDF creation. Learn how borb works and how you can use it to create a PDF invoice in this tutorial from the project’s creator.
JORIS SCHELLEKENS • Shared by Joris Schellekens

Python’s Assignment Expressions and Fixing a Botched Release to PyPI
Have you started to use Python’s assignment expression in your code? Maybe you have heard them called the walrus operator. Now that the controversy over the introduction in Python 3.8 has settled down, how can you use assignment expressions effectively in your code? This week on the Real Python Podcast, David Amos is back, and he’s brought another batch of PyCoder’s Weekly articles and projects.
REAL PYTHON podcast

SonarLint Free and Open Source IDE Extension for Python Devs
Working in VS Code, PyCharm, Visual Studio, or Eclipse? SonarLint helps you find & fix Code Quality and Code Security issues in your Python codebase!
SONARSOURCEsponsor

Writing your First Distributed Python Application with Ray
Ray is a fast, simple distributed execution framework that makes it easy to scale your applications and to leverage state of the art machine learning libraries. Using Ray, you can take Python code that runs sequentially and transform it into a distributed application with minimal code changes.
TOWARDSDATASCIENCE.COM • Shared by Michael Galarnyk


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 →

networkx: Network Analysis in Python
GITHUB.COM/NETWORKX

Quantel: Official Python Wrapper for the Quantel Finance API
GITHUB.COM/RATHERBLAND

paranoidscientist: Runtime Software Verification and Automated Testing for Scientific Software in Python
GITHUB.COM/MWSHINN

PyRayT: A Geometric Ray Tracing Package for Optical System Design
GITHUB.COM/RFRAZIER716 • Shared by Ryan Frazier

📆🐍 Upcoming Python Events


Real Python Office Hours (Virtual)
August 25, 2021

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