Planet Python RSS
212 subscribers
17K links
Unofficial Planet Python RSS feed from planetpython.org. Maintained by @cfinnberg
Download Telegram
Peter Bengtsson: fastest way to turn HTML into text in Python

Link: https://www.peterbe.com/plog/selectolax-or-pyquery

tl;dr; selectolax is best for stripping HTML down to plain text.
The problem is that I have 10,000+ HTML snippets that I need to index into Elasticsearch as plain text. (Before you ask, yes I know Ela
Ben Cook: Calculating the norm of an array in NumPy: all about np.linalg.norm()

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

A norm is a measure of the size of a matrix or vector and you can compute it in NumPy with the np.linalg.norm() function[1]: import numpy as np x = np.eye(4) np.linalg.norm(x) # Expected result # 2.0
Weekly Python StackOverflow Report: (cclviii) stackoverflow python report

Link: http://python-weekly.blogspot.com/2021/01/cclviii-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-01-09 21:28:09 GMTWhy does popping from the original list make rev
Sandipan Dey: NLP with Bangla: semantic similarity with word2vec, generating Bangla song-like text with LSTM and sentiment analysis on astrological prediction dataset with LSTM

Link:

In this blog, we shall discuss on a few NLP techniques with Bangla language. We shall start with a demonstration on how to train a word2vec model with Bangla wiki corpus with tensorflow and how to vis
Peter Hoffmann: Convert the Himalayan Database to SQLite

Link: http://peter-hoffmann.com/2021/convert-the-himalayan-database-to-sqlite.html

The Himalayan database is a record of expeditions in the Nepalese Himalayas
and a unique source of knowledge about the history of the Himalaya
mountaineering. The database is based on the expedition a
Zato Blog: What is an API gateway?

Link: https://zato.io/blog/posts/what-is-an-api-gateway.html

In this article, we are going to use
Zato
in its capacity as a multi-protocol Python API gateway - we will integrate a few popular technologies, accepting requests sent
over protocols commonly used in
ListenData: Learn Python for Data Science

Link: https://www.listendata.com/2020/10/learn-python-for-data-science.html

This tutorial would help you to learn Data Science with Python by examples. It is designed for beginners who want to get started with Data Science in Python. Python is an open source language and it i
Mike Driscoll: PyDev of the Week: Ken Youens-Clark

Link: https://www.blog.pythonlibrary.org/2021/01/11/pydev-of-the-week-ken-youens-clark/

This week we welcome Ken Youens-Clark (@kycl4rk) as our PyDev of the Week! He is the author of Tiny Python Projects from Manning. He has done video lectures for each of his chapters on YouTube.

Let’s
Chris Moffitt: Pandas DataFrame Visualization Tools

Link: https://pbpython.com/dataframe-gui-overview.html


Introduction
I have talked quite a bit about how pandas is a great alternative to Excel for many tasks.
One of Excel’s benefits is that it offers an intuitive and powerful graphical interface for
vie
Stack Abuse: Python: Update All Packages With pip-review

Link: https://stackabuse.com/python-update-all-packages-with-pip-review/

Introduction
Updating Python packages can be a hassle. There are many of them - it's hard to keep track of all the newest versions, and even when you decide what to update, you still have to update ea
Python⇒Speed: It's time to switch to Docker BuildKit

Link: https://pythonspeed.com/articles/docker-buildkit/

Building Docker images can be slow, and Docker’s build system is also missing some critical security features, in particular the ability to use build secrets without leaking them.
So over the past few
Matt Layman: Episode 11 - Here, There, Middleware

Link: https://www.mattlayman.com/django-riffs/here-there-middleware/

On this episode, we will investigate Django middleware and see where it goes in your project. In the process, you’ll see why middleware is useful and how you can work with it.
Listen at djangoriffs.co
Real Python: NumPy Tutorial: Your First Steps Into Data Science in Python

Link: https://realpython.com/numpy-tutorial/

NumPy is a Python library that provides a simple yet powerful data structure: the n-dimensional array. This is the foundation on which almost all the power of Python’s data science toolkit is built, a
Mike Driscoll: Get Python 101 2nd Edition FREE for 72 Hours!

Link: https://www.blog.pythonlibrary.org/2021/01/11/get-python-101-2nd-edition-free-for-72-hours/

Python 101 2nd Edition is the latest version of Python 101. This book is meant to help you learn Python and then go beyond the basics. I’ve always felt that a beginner’s book should teach more than sy
Talk Python to Me: #298 Building ML teams and finding ML jobs

Link: https://talkpython.fm/episodes/show/298/building-ml-teams-and-finding-ml-jobs

Are you building or running an internal machine learning team? How about looking for a new ML position? On this episode, I talk with Chip Huyen from Snorkel AI about building ML teams, finding ML posi
Ben Cook: Reshaping arrays: How the NumPy reshape operation works

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

The NumPy reshape operation changes the shape of an array so that it has a new (but compatible) shape. The rules are: The number of elements stays the same. The order of the elements stays the same[1]
Matthew Wright: Indexing and Selecting in Pandas by Callable

Link: https://www.wrighters.io/2021/01/11/indexing-and-selecting-in-pandas-by-callable/

In pandas, you can use callables where indexers are accepted. It turns out that can be handy for a pretty common use case.The post Indexing and Selecting in Pandas by Callable appeared first on wright