Planet Python RSS
214 subscribers
17K links
Unofficial Planet Python RSS feed from planetpython.org. Maintained by @cfinnberg
Download Telegram
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
CubicWeb: CubicWeb Monthly news january 2021

Link: http://feedproxy.google.com/~r/cubicweborg/~3/p5fghF_RRzc/17366606

New organisation
For this new year, we decided to change how we organise the CubicWeb project at
Logilab. We clarified how to define priorities and how to contribute.
Rotating the coordinator of the
John Ludhi/nbshare.io: Word Embeddings Transformers In SVM Classifier Using Python

Link: https://www.nbshare.io/notebook/197284676/Word-Embeddings-Transformers-In-SVM-Classifier-Using-Python/








Word Embeddings Transformers In SVM Classifier Using PythonWord EmbeddingsWord Embeddings is the process of representing words with numerical vectors.
One-hot-encodingNot so long ago, words use
John Ludhi/nbshare.io: Understanding Standard Deviation With Python

Link: https://www.nbshare.io/notebook/42712841/Understanding-Standard-Deviation-With-Python/








Understanding Standard Deviation With PythonStandard deviation is a way to measure the variation of data. It is also calculated as the square root of the variance, which is used to quantify the
John Ludhi/nbshare.io: Dictionaries In Python

Link: https://www.nbshare.io/notebook/669278718/Dictionaries-In-Python/








Dictionaries in PythonYou can define a dictionary by enclosing a comma-separated list of key-value pairs in curly braces ({}).
A colon (:) separates each key from its associated value:





In 
John Ludhi/nbshare.io: Decision Tree Regression With Hyper Parameter Tuning In Python

Link: https://www.nbshare.io/notebook/312837011/Decision-Tree-Regression-With-Hyper-Parameter-Tuning-In-Python/








Decision Tree Regression With Hyper Parameter Tuning








In this post, we will go through Decision Tree model building. We will use air quality data. Here is the link to data.





In [1]:
John Ludhi/nbshare.io: Learn And Code Confusion Matrix With Python

Link: https://www.nbshare.io/notebook/626706996/Learn-And-Code-Confusion-Matrix-With-Python/








Learn And Code Confusion Matrix With Python
The confusion matrix is a way to visualize how many samples from each label got predicted correctly. The beauty of the confusion matrix is that it ac
Andre Roberge: My wish for Python 4

Link: https://aroberge.blogspot.com/2021/02/my-wish-for-python-4.html

I love Python. A few years after I started using it, I saw someone writing about it and using the phrase "it fits my brain": this is very much how I feel ... at least, for simple straightforward code
EuroPython: EuroPython 2021: Volunteering

Link: https://blog.europython.eu/europytho-2021-volunteerng/

The EuroPython 2021 organization is starting and we're looking for more help with running the conference.EuroPython 2019 TeamFor EP2021, we are using a slightly different approach compared to previous
Python Morsels: docstrings in Python

Link: https://www.pythonmorsels.com/topics/docstrings/





Transcript:
Let's talk about docstrings in Python.
What is a docstring
We have a function called get_hypotenuse:
from math import sqrt


def get_hypotenuse(a, b):
"""Return right triangle hyp
Python Pool: CV2.findhomography: Things You Should Know

Link: https://www.pythonpool.com/cv2-findhomography/?utm_source=rss&utm_medium=rss&utm_campaign=cv2-findhomography

Hello coders!! In this article, we will be learning about cv2.findhomography in Python. But before getting into detail, let us get a basic idea about the topic.
What is homography?
The homography is a
Python Pool: Matplotlib gridspec: Detailed Illustration

Link: https://www.pythonpool.com/matplotlib-gridspec/?utm_source=rss&utm_medium=rss&utm_campaign=matplotlib-gridspec

Hello, coders!! In this article, we will be learning about matplotlib gridspec. We will see some examples to grasp a clear concept on the mentioned topic. Without any further ado, let us get straight
Django Weblog: Django security releases issued: 3.1.7, 3.0.13 and 2.2.19

Link: https://www.djangoproject.com/weblog/2021/feb/19/security-releases/

In accordance with our security release policy, the Django team
is issuing
Django 3.1.7,
Django 3.0.13, and
Django 2.2.19.
These release addresses the security issue detailed below. We encourage all u