David Amos: Method Chaining in Pandas: Bad Form Or a Recipe For Success?
This article contains affiliate links. See my affiliate disclosure for more information.Python trainer Matt Harrison has been creating a bit of a stir.Some of his pandas examples, like the one below,...
View ArticleReal Python: Should You Update to the Latest Python Bugfix Version?
If you’ve been hanging out in the Python community for a while, you may remember discussions about Python 2 vs Python 3, or you may have seen versions like Python 3.10 and Python 3.11 released with...
View ArticleTalk Python to Me: #388: Python 3.11 is here and it's fast
Python 3.11 is here! Keeping with the annual release cycle, the Python core devs have released the latest version of Python. And this one is a big one. It has more friendly error messages and is...
View ArticleBrett Cannon: Unravelling assignment expressions
As part of my series on Python&aposs syntactic sugar, I initially skipped tackling conditional expressions because I made them more complicated than I needed to in my head. 😅 But there is some key...
View ArticleMike Driscoll: Python 101 - How to Work with CSV files
There are many common file types that you will need to work with as a software developer. One such format is the CSV file. CSV stands for "Comma-Separated Values" and is a text file format that uses a...
View ArticlePython⇒Speed: Good old-fashioned code optimization never goes out of style
Sometimes, making your Python data processing software faster doesn’t require libraries like NumPy or Pandas, or specialized techniques like vectorization. In fact, if you’re doing string processing,...
View ArticlePython Engineering at Microsoft: Python in Visual Studio Code – November 2022...
We’re excited to announce that the November 2022 release of the Python and Jupyter extensions for Visual Studio Code are now available!This release includes the following announcements:Migration to...
View ArticlePyBites: Focus on what you can control
Listen here:Welcome back to our Pybites podcast. This week we talk about the relatively stressful times we live in and hence the need to focus on what YOU can control.We center our discussion around 5...
View ArticleEuroPython: EuroPython 2022: Videos & Thanks!
Lights! ✨ Camera!📸 Action!🎬We are super delighted to release the final video instalments from EuroPython 2022. Like all season finales, we&aposre leaving you on a knife edge, guessing where...
View ArticleReal Python: The Real Python Podcast – Episode #131: Exploring the New...
Python 3.11 is here! Our regular guests, Geir Arne Hjelle and Christopher Trudeau, return to talk about the new version. Geir Arne wrote a series of preview tutorials earlier this year, and his annual...
View ArticlePython for Beginners: Concatenate, Merge, and Join Pandas DataFrames
Pandas dataframes are the primary tools to analyze tabular data in python. In this article, we will discuss different ways to concatenate, merge, and join pandas dataframes using the merge() function,...
View ArticlePyCharm: PyCharm 2022.3 EAP 4 is out!
This EAP build brings suppoot for the new Self type in Python 3.11, updated Tips of the Day, enhanced Bookmarks, and more.You can get the latest build from our website or the free Toolbox App, or via...
View ArticleThe Python Coding Blog: Moving On From The Basics of Python Functions [#1 in...
Those learning to code learn about functions very early on in their journey. Not only do beginners use Python functions right from their first lesson, but they also learn to define their own Python...
View ArticlePyPy: PyPy and conda-forge
You can use PyPy as your python interpreter in a conda environment. The conda-forge team has graciously provided this service.The conda-forge tips-and-tricks page says:The conda-forge channel supports...
View ArticleMike C. Fletcher: Creating some Pycraft Videos
Pycraft has remained relatively obscure. It lets you write (very close to) Python code in the minecraft chat window to perform magic that's written in Python code on the backend. I thought maybe a few...
View ArticlePodcast.__init__: Skip Straight To The Fun Part Of Your Project With PyScaffold
SummaryStarting a new project is always exciting and full of possibility, until you have to set up all of the repetitive boilerplate. Fortunately there are useful project templates that eliminate that...
View ArticleMike C. Fletcher: Finally Got Potions (ItemMeta) and Signs (BlockState) working
So one of the long-standing requests from the boys has been that we have the ability to create potions from Pycraft's in-game REPL. Today I finally got that working, mostly because I finally decided...
View ArticleLuke Plant: Better Python code grepping with pyastgrep
A few weeks ago I released pyastgrep, a tool for grepping Python code at the syntax level (using AST - Abstract Syntax Trees), and today I released some more improvements.It builds on an earlier tool,...
View ArticleMike Driscoll: PyDev of the Week: Kirk Byers
This week we welcome Kirk Byers (@kirkbyers) as our PyDev of the Week! Kirk teaches several different courses about Python and network automation. Kirk also has a short video on that topic over on...
View ArticlePython for Beginners: Send Email Using Python
Emails are one of the most important parts of our lives. In this article, we will discuss how we can send an email using python. How to Send E-Mail Using Python?In this article, we will use Simple Mail...
View Article