Planet Python RSS
214 subscribers
17K links
Unofficial Planet Python RSS feed from planetpython.org. Maintained by @cfinnberg
Download Telegram
Podcast.__init__: CrossHair: Your Automatic Pair Programmer

Link: https://www.pythonpodcast.com/crosshair-automated-bug-finder-episode-302/

One of the perennial challenges in software engineering is to reduce the opportunity for bugs to creep into the system. Some of the tools in our arsenal that help in this endeavor include rich type sy
Python Insider: Python 3.7.10 and 3.6.13 security updates now available

Link: http://feedproxy.google.com/~r/PythonInsider/~3/NfEAmX9_8yk/python-3710-and-3613-security-updates.html

 Python 3.7.10 and 3.6.13,  the lastest security fix rollups for Python 3.7 and Python 3.6, are now available. You can find the release files, links to the changelogs, and more information here:    ht
Mike Driscoll: Creating an Image Viewer with PySimpleGUI

Link: https://www.blog.pythonlibrary.org/2021/02/16/creating-an-image-viewer-with-pysimplegui/

PySimpleGUI makes creating applications easy. In this tutorial, you will learn how to use PySimpleGUI to create a simple Image Viewer. You will be using the regular version of PySimpleGUI, which wraps
Django Weblog: DjangoCon Europe 2021 Announcement

Link: https://www.djangoproject.com/weblog/2021/feb/16/djangocon-europe-2021-announcement/

This announcement retracts the previous announcement regarding the hybrid DjangoCon Europe 2021. Sadly, this year, we will not have the physical component, we are deeply sorry for our initial over-opt
Chris Moffitt: Efficiently Cleaning Text with Pandas

Link: https://pbpython.com/text-cleaning.html


Introduction
It’s no secret that data cleaning is a large portion of the data analysis process. When
using pandas, there are multiple techniques for cleaning text fields to prepare for
further analys
Stack Abuse: Python: Check if Variable is a Dictionary

Link: https://stackabuse.com/python-check-if-variable-is-a-dictionary/

Introduction
Variables act as a container to store data. A developer can use type hints when creating variables or passing arguments, however, that's an optional feature in Python, and many codebases,
PyCoder’s Weekly: Issue #460 (Feb. 16, 2021)

Link: https://pycoders.com/issues/460

#460 – FEBRUARY 16, 2021 View in Browser » PEP 634: Structural Pattern Matching (match/case) A few links related to PEP 634, which will add structural pattern matching to Python via a new match/
Mike Driscoll: An Intro to Python’s Built-in Functions

Link: https://www.blog.pythonlibrary.org/2021/02/17/an-intro-to-pythons-built-in-functions/

Built-ins are a somewhat overlooked part of Python. You use them every day, but there are a number of them that get overlooked or just aren’t used to their full potential. This article won’t be coveri
Real Python: Functional Programming in Python: When and How to Use It

Link: https://realpython.com/python-functional-programming/

Functional programming is a programming paradigm in which the primary method of computation is evaluation of functions. In this tutorial, you’ll explore functional programming in Python.
Functional pr
John Ludhi/nbshare.io: How to Analyze the CSV data in Pandas

Link: https://wwww.nbshare.io/224599533/How-to-Analyze-the-CSV-data-in-Pandas/








How to Analyze the CSV data in Pandas








For this exercise, I am using College.csv data. The brief explantion of data is given below.





In [1]:


import pandas as pd







In [2]:


df
John Ludhi/nbshare.io: How to Analyze the CSV data in Pandas

Link: https://www.nbshare.io/224599533/How-to-Analyze-the-CSV-data-in-Pandas/








How to Analyze the CSV data in Pandas








For this exercise, I am using College.csv data. The brief explantion of data is given below.





In [1]:


import pandas as pd







In [2]:


df
Mike Driscoll: Pillow: Image Processing with Python Available for Pre-order

Link: https://www.blog.pythonlibrary.org/2021/02/17/pillow-image-processing-with-python-available-for-pre-order/

Pillow: Image Processing with Python is my latest book on Python. It is now available for pre-order. What that means is that you can purchase an early version of the book and get all the updates to it
Python⇒Speed: Why you really need to upgrade pip

Link: https://pythonspeed.com/articles/upgrade-pip/

New software releases can bring bug fixes, new features, and faster performance.
For example, NumPy 1.20 added type annotations, and improved performance by using SIMD when possible.
If you’re install
John Ludhi/nbshare.io: How to Analyze the CSV data in Pandas

Link: https://www.nbshare.io/notebook/224599533/How-to-Analyze-the-CSV-data-in-Pandas/








How to Analyze the CSV data in Pandas








For this exercise, I am using College.csv data. The brief explantion of data is given below.





In [1]:


import pandas as pd







In [2]:


df
Matthew Wright: Profiling Python with cProfile, and a speedup tip

Link: https://www.wrighters.io/profiling-python-with-cprofile-and-a-speedup-tip/

We would love for our Python programs to run as fast as possible, but figuring out how to speed things up requires gathering information about the current state of our code and knowing techniques to s
Python Engineering at Microsoft: Python in Visual Studio Code – February 2021 Release

Link: https://devblogs.microsoft.com/python/python-in-visual-studio-code-february-2021-release/

We are pleased to announce that the February 2021 release of the Python Extension for Visual Studio Code is now available. You can download the Python extension from the Marketplace, or install it dir
Test and Code: 145: For Those About to Mock - Michael Foord

Link: https://testandcode.com/145

A discussion about mocking in Python with the original contributor of unittest.mock, Michael Foord.
Of course we discuss mocking and unittest.mock.
We also discuss:

testing philosophy
unit testing a