Planet Python RSS
217 subscribers
16.9K links
Unofficial Planet Python RSS feed from planetpython.org. Maintained by @cfinnberg
Download Telegram
Python for Beginners: Pandas Map vs Apply Method in Python

Link: https://www.pythonforbeginners.com/basics/pandas-map-vs-apply-method-in-python

Pandas dataframes provide us with various methods to perform data manipulation. Two of those methods are the map() method and the apply() method. This article discusses pandas map vs apply to compare
Real Python: How to Launch an HTTP Server in One Line of Python Code

Link: https://realpython.com/python-http-server/

Traditionally, if you wanted to handle HTTP requests and serve static content from files, then you had to set up a full-fledged web server like Apache or NGINX, which could be a tedious process. Build
Stack Abuse: Python Dictionary Comprehension: A Fast and Flexible Way to Build Dictionaries

Link: https://stackabuse.com/python-dictionary-comprehension-a-fast-and-flexible-way-to-build-dictionaries/

Introduction
Dictionaries are a very powerful, Pythonic way to store data. They allow us to associate a key with a value, and access them as needed. This makes it easy to store data where, for example
Python Insider: Python 3.12.0 beta 1 released

Link: https://pythoninsider.blogspot.com/2023/05/python-3120-beta-1-released.html

I'm pleased to announce the release of Python 3.12 beta 1 (and feature freeze for Python 3.12).https://www.python.org/downloads/release/python-3120b1/This is a beta preview of Python 3.12Python 3.12 i
Real Python: Using k-Nearest Neighbors (kNN) in Python

Link: https://realpython.com/courses/knn-python/

In this video course, you’ll get a thorough introduction to the k-Nearest Neighbors (kNN) algorithm in Python. The kNN algorithm is one of the most famous machine learning algorithms and an absolute m
PyCoder’s Weekly: Issue #578 (May 23, 2023)

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

#578 – MAY 23, 2023 View in Browser » ChatGPT: Your Personal Python Coding Mentor Large language models have gained popularity since OpenAI released ChatGPT. In this tutorial, you’ll learn how t
Python Bytes: #337 Backtracking For a Package

Link: https://pythonbytes.fm/episodes/show/337/backtracking-for-a-package

<a href='https://www.youtube.com/watch?v=J_YD9k6XbOE' style='font-weight: bold;'>Watch on YouTube</a><br>
<br>

<p><strong>About the show</strong></p>

<p>Sponsored by us! Support our work through:</p
Stack Abuse: How to Convert a List into a CSV String in Python

Link: https://stackabuse.com/how-to-convert-a-list-into-a-csv-string-in-python/

Introduction
In data-driven fields like data analysis, machine learning, and web development, you often need to transform data from one format to another to fit particular needs. A common requirement
Python for Beginners: Python Pass Keyword Explained With Examples

Link: https://www.pythonforbeginners.com/uncategorized/python-pass-keyword-explained-with-examples

Python provides us with some unique functionalities that don’t exist in other languages. One such functionality is the pass keyword. In this article, we will understand the working of the Python pass
Python⇒Speed: Choosing a good file format for Pandas

Link: https://pythonspeed.com/articles/best-file-format-for-pandas/

Before you can process your data with Pandas, you need to load it (from disk or remote storage).
There are plenty of data formats supported by Pandas, from CSV, to JSON, to Parquet, and many others as
Python for Beginners: Python Pass Keyword Explained With Examples

Link: https://www.pythonforbeginners.com/basics/python-pass-keyword-explained-with-examples

Python provides us with some unique functionalities that don’t exist in other languages. One such functionality is the pass keyword. In this article, we will understand the working of the Python pass
Real Python: Python's .__call__() Method: Creating Callable Instances

Link: https://realpython.com/python-callable-instances/

In Python, a callable is any object that you can call using a pair of parentheses and, optionally, a series of arguments. Functions, classes, and methods are all common examples of callables in Python
Test and Code: 201: Avoid merge conflicts on your CHANGELOG with "scriv"

Link: https://testandcode.com/201

Last week we talked about the importance of keeping a changelog.
This week we talk with Ned Batchelder about scriv, a tool to help maintain that changelog.
Scriv "is a command-line tool for helping de
ListenData: Complete Guide to Massively Multilingual Speech (MMS) Model

Link: https://www.listendata.com/2023/05/massively-multilingual-speech.html

In this article we have covered everything about the latest multilingual speech model from the basics of how it works to the step-by-step implementation of the model in Python.
Meta, the company that
Real Python: The Real Python Podcast – Episode #157: Discussing Mojo & Improving Python Object-Oriented Programming

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

Would you like to speed up your Python machine-learning code dramatically? What if you only had to change a few keywords and add a couple of type hints on portions of your code? This week on the show,
Python for Beginners: Python Continue vs Break Statement Explained

Link: https://www.pythonforbeginners.com/basics/python-continue-vs-break-statement-explained

Python provides us with the continue and break statements to control the execution of a program inside a for loop or a while loop. This article discusses the continue vs break keyword in Python to und
Stack Abuse: The Difference Between %s and %d in Python String Formatting

Link: https://stackabuse.com/the-difference-between-s-and-d-in-python-string-formatting/

Introduction
String formatting, in simple terms, is the process of constructing a string by inserting some specific or computed data into a string placeholder. This is an indispensable tool when you'r
Shannon -jj Behrens: Python: Advice for Patching Your Code at Runtime

Link: http://www.jjinux.com/2023/05/python-advice-to-patchers.html

A lot of people use mock.patch() in their tests, but it's also sometimes useful to monkey-patch code at runtime. This blog post talks about why and how.
Let's imagine that you're using some library (p
Zero to Mastery: Python Monthly Newsletter 💻🐍

Link: https://zerotomastery.io/blog/python-monthly-newsletter-may-2023/?utm_source=python-rss-feed

42nd issue of the Python Monthly Newsletter! Read by 25,000+ Python developers every month. This monthly Python newsletter covers the latest Python news so that you stay up-to-date with the industry a