Planet Python RSS
215 subscribers
16.8K links
Unofficial Planet Python RSS feed from planetpython.org. Maintained by @cfinnberg
Download Telegram
Python for Beginners: Merge DataFrames in Python

Link: https://www.pythonforbeginners.com/basics/merge-dataframes-in-python

Python provides us with the pandas dataframes to handle tabular data. In this article, we will discuss how we can merge two dataframes in python.
How to Merge Two DataFrames in Python?
Suppose that we
Real Python: ChatterBot: Build a Chatbot With Python

Link: https://realpython.com/build-a-chatbot-python-chatterbot/

Chatbots can provide real-time customer support and are therefore a valuable asset in many industries. When you understand the basics of the ChatterBot library, you can build and train a self-learning
Read the Docs: Read the Docs newsletter - October 2022

Link: https://blog.readthedocs.com/newsletter-october-2022/


September was exciting because a few members of our team finally got to gather in person.
Manuel, Benjamin, and Eric all attended Djangocon Europe in September,
and had lots of great discussions arou
IslandT: Python Example — Write a python program which will save the user inputs into a Pickle file

Link: https://islandtropicaman.com/wp/2022/10/13/python-example-write-a-python-program-which-will-save-the-user-inputs-into-a-pickle-file/

A pickle file with the pickle extension is a binary file where all the user inputs will get saved into this file in binary format. The pickle built-in module will be required in order to use the pickl
Python Bytes: #305 Decorators need love too

Link: https://pythonbytes.fm/episodes/show/305/decorators-need-love-too

<p><strong>Watch the live stream:</strong></p>

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

<p><strong>About the show</strong></p>
Hynek Schlawack: How to Fix the set-output GitHub Actions Deprecation Warning

Link: https://hynek.me/til/set-output-deprecation-github-actions/

If you have a GitHub Actions workflow that sets an output using echo ::set-output key=value, you have started to see an unhelpful deprecation warning. Here’s how to fix it.
Django Weblog: Nominations for 2022 Malcolm Tredinnick Memorial Prize

Link: https://www.djangoproject.com/weblog/2022/oct/14/nominations-for-2022-malcolm-tredinnick-memorial-p/

Hello Everyone!
It is that time of year again when we recognize someone from our community in memory of our friend Malcolm.
Malcolm was an early core contributor to Django and had both a huge influenc
PyCharm: PyCon Portugal 2022 trip report

Link: https://blog.jetbrains.com/pycharm/2022/10/pycon-portugal-2022-trip-report/

This year saw the premier of the first ever PyCon Portugal! With DjangoCon Europe being hosted in Porto this year, the organizers took the opportunity to piggyback off of this conference and set up a
Real Python: The Real Python Podcast – Episode #129: Using an Ellipsis in Python & Goals for CPython 3.12

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

Where should you use an ellipsis in Python? How does it behave as a placeholder in a script, project, or stub file? What are the next goals for the Faster CPython project? This week on the show, Chris
IslandT: Python Example — Replace words within a list, and then sort the entire list and turn it into a string

Link: https://islandtropicaman.com/wp/2022/10/14/python-example-replace-words-within-a-list-and-then-sort-the-entire-list-and-turn-it-into-a-string/

In this example, let us create a python program that will replace words within a list, and then sort the entire list and turn it into a string. Below is the entire program.

def rewrite(word):
ret
Python for Beginners: Concatenate DataFrames in Python

Link: https://www.pythonforbeginners.com/basics/concatenate-dataframes-in-python

We use dataframes in python to handle and analyze tabular data in python. In this article, we will discuss how we can concatenate two or more dataframes in python.
How to Concatenate DataFrames in Pyt
scikit-learn: scikit-learn and Hugging Face join forces

Link:
https://blog.scikit-learn.org/updates/community/joining-forces-hugging-face/

Author: Lysandre Debut , François Goupil

Hugging Face is happy to announce that we’re partnering with scikit-learn to furthe
Daniel Nouri: Pdb tracking with Emacs python-mode

Link: https://danielnouri.org/notes/2022/10/14/pdb-tracking-with-emacs-python-mode


I've written about my experience with previous Python modes and their
horrible feature bloat before.
For a long time, I'd decided to vendor a version of the original
Python mode from 2009, because ne
IslandT: Python Example — Create database with sqlite3

Link: https://islandtropicaman.com/wp/2022/10/15/python-example-create-database-with-sqlite3/

In this article let us create a poet database and a poet table with sqlite3 module’s and then inserted the poet entry into the table before retrieving it again from the table and displaying it on the
Go Deh: Riffing on triplet sum to a target

Link: http://paddy3118.blogspot.com/2022/10/riffing-on-triplet-sum-to-target.html

 (Best viewed on a larger screen). There's a task that goes: Given a list of integers and a target integer, return all "normalised" triplets of numbers from that list that sum to the target value.
Talk Python to Me: #385: Higher level Python asyncio with AnyIO

Link: https://talkpython.fm/episodes/show/385/higher-level-python-asyncio-with-anyio

Do you love Python's async and await but feel that you could use more flexibility and higher-order constructs like running a group of tasks and child tasks as a single operation, or streaming data bet
Kay Hayen: Nuitka Release 1.1

Link: https://nuitka.net/posts/nuitka-release-11.html

This is to inform you about the new stable release of Nuitka. It is the extremely compatible Python compiler,
“download now”.
This release contains a large amount of new compatibility features,
while
David Amos: Tree Traversals And Anagrams In Python

Link: https://davidamos.dev/tree-traversals-and-anagrams-python/


This article contains affiliate links. See my affiliate disclosure for more information.
I know it&aposs all just an accident of language, but the fact that you can rearrange the letters in "the eyes
Django Weblog: 2023 DSF Board Nominations

Link: https://www.djangoproject.com/weblog/2022/oct/16/2023-dsf-board-nomination-announcement/


It is that time of year again to think about next year’s Django Software Foundation’s Board of Directors!


As you know, the Board guides the direction of the marketing, governance and outreach activ
Podcast.__init__: Take Control Of Your Electrical Systems With The Open Source FlexMeasures Energy Management System

Link: https://www.pythonpodcast.com/flexmeasures-energy-management-system-episode-381/

The generation, distribution, and consumption of energy is one of the most critical pieces of infrastructure for the modern world. With the rise of renewable energy there is an accompanying need for s