Planet Python RSS
214 subscribers
17K links
Unofficial Planet Python RSS feed from planetpython.org. Maintained by @cfinnberg
Download Telegram
Ben Cook: NumPy All: Understanding np.all()

Link: https://jbencook.com/numpy-all/

The np.all() function tests whether all elements in a NumPy array evaluate to true.
Ben Cook: Finding the Mode of an Empirical Continuous Distribution

Link: https://jbencook.com/mode-of-continuous-distribution/

You can find the mode of an empirical continuous distribution by plotting the histogram and looking for the maximum bin.
Ben Cook: NumPy Where: Understanding np.where()

Link: https://jbencook.com/numpy-where/

The NumPy where function is like a vectorized switch that you can use to combine two arrays.
Ben Cook: TorchVision Transforms

Link: https://jbencook.com/torchvision-transforms/

TorchVision, a PyTorch computer vision package, has a great API for image pre-processing in its torchvision.transforms module. This post gives some basic usage examples, describes the API and shows yo
Ben Cook: Filtering DataFrames with the .query() Method in Pandas

Link: https://jbencook.com/pandas-query/

Pandas provides a .query() method on DataFrame's with a convenient string syntax for filtering DataFrames. This post describes the method and gives simple usage examples.
Python Morsels: Tuple unpacking

Link: https://www.pythonmorsels.com/topics/tuple-unpacking/




Transcript
Let's talk about tuple unpacking in Python.
An alternative to hard-coded indexes
We have a three-item tuple, called p:
>>> p = (2, 1, 3)

We can access each of the things in this tuple b
Janusworx: Thoughts on Setting Up a Blog

Link: https://janusworx.com/blog/thoughts-on-setting-up-a-blog/

This post was first sent to my newsletter on March 19th, 2021.
You really ought to subscribe :)
I blame Mahe for this post.

Hey, Jason!
Can you please write an article on how to build a website l
Real Python: The Real Python Podcast – Episode #53: Improving the Learning Experience on Real Python

Link: https://realpython.com/podcasts/rpp/53/

If you haven't visited the website lately, then you're missing out on the updates to realpython.com! The site features a completely refreshed layout with multiple sections to help you take advantage o
Talk Python to Me: #309 What ML Can Teach Us About Life: 7 Lessons

Link: https://talkpython.fm/episodes/show/309/what-ml-can-teach-us-about-life-7-lessons

Machine learning and data science are full of best practices and important workflows. Can we extrapolate these to our broader lives? Eugene Yan and I give it a shot on this slightly more philosophical
PyCharm: PyCharm 2021.1 EAP 5 is Out!

Link: http://feedproxy.google.com/~r/Pycharm/~3/fmi8Yqd7-DU/


We’ve addressed a long list of issues in this bug-fix release. Here’s just a few of the major fixes:


UX: The IDE no longer gets stuck when you cancel the process of opening (starting up) a project.
Quansight Labs Blog: Accessibility: Who's Responsible?

Link: https://labs.quansight.org/blog/2021/03/accessibility-whos-responsible/


JupyterLab Accessibility Journey Part 1
For the past few months, I've been part of a group of people in the JupyterLab community
who've committed to start chipping away at the many accessibility fai
Python Pool: 7 Quick Ways to Check If String is Empty in Python

Link: https://www.pythonpool.com/empty-string-python/?utm_source=rss&utm_medium=rss&utm_campaign=empty-string-python

Introduction
Python strings are immutable, i.e., we can change the strings according to the operations performed. String Manipulation is the most important feature in python. You can manipulate the st
Python Pool: Multiple Ways To Print Blank Line in Python

Link: https://www.pythonpool.com/python-print-blank-line/?utm_source=rss&utm_medium=rss&utm_campaign=python-print-blank-line

Introduction
Sometimes, while programming in Python, we came to a situation where we want to print the data in a new line, a blank line between two-lines, or print the data in the same line without us
Python Pool: Numpy genfromtxt() | How to use Numpy genfromtxt()

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

Introduction
Numpy is the name that came from ‘Numerical Python.’ It is a library in python which performs n-dimensional operations on arrays. But have you ever thought about loading the data into num
Python Pool: Type() Function | How to Check Data Type in Python

Link: https://www.pythonpool.com/check-data-type-python/?utm_source=rss&utm_medium=rss&utm_campaign=check-data-type-python

Introduction
Python has many built-in functions. In this tutorial, we will be discussing how to check the data-type of the variables in python by using type(). As, while programming in Python, we came
Weekly Python StackOverflow Report: (cclxviii) stackoverflow python report

Link: http://python-weekly.blogspot.com/2021/03/cclxviii-stackoverflow-python-report.html

These are the ten most rated questions at Stack Overflow last week.Between brackets: [question score / answers count]Build date: 2021-03-27 17:37:58 GMTPandas check if value in one multiindex column i
Ben Cook: PyTorch Tensor to NumPy Array and Back

Link: https://jbencook.com/pytorch-numpy-conversion/

You can easily convert a NumPy array to a PyTorch tensor and a PyTorch tensor to a NumPy array. This post explains how it works.
The post PyTorch Tensor to NumPy Array and Back appeared first on jbenc
Ned Batchelder: Gefilte Fish: gmail filter creation

Link: https://nedbatchelder.com/blog/202103/gefilte_fish_gmail_filter_creation.html

At work, to keep up with mailing lists and GitHub notifications, I had more
than fifty GMail filters. It wasn’t too bad to create them by hand with the
GMail UI, but I’m sure there were filters there
Mike Driscoll: PyDev of the Week: Yuxi (Hayden) Liu

Link: https://www.blog.pythonlibrary.org/2021/03/29/pydev-of-the-week-yuxi-hayden-liu/

This week we welcome Yuxi (Hayden) Liu as our PyDev of the Week! Hayden is the author of Python Machine Learning By Example and other books. You can connect with Hayden on LinkedIn.
Now let’s spend so