Planet Python RSS
216 subscribers
16.9K links
Unofficial Planet Python RSS feed from planetpython.org. Maintained by @cfinnberg
Download Telegram
Go Deh: Answering a Reddit Question with timings.

Link: http://paddy3118.blogspot.com/2022/09/answering-reddit-question-with-timings.html

Best viewed on larger than a phone screen. Someone had a problem on Reddit r/python:Hello guys, I want to find a string in a list and this list has 350K elements all they are strings . I want to find
Matthew Wright: Use pandas DateOffsets for easy date manipulation

Link: https://www.wrighters.io/use-pandas-dateoffsets-for-easy-date-manipulation/

So much useful data has a date or time component. Often, data has a timestamp to represent when the data was acquired, or when an event will take place, or as an identifying attribute like an expirati
IslandT: Python Tutorial — Chapter 9

Link: https://islandtropicaman.com/wp/2022/09/26/python-tutorial-chapter-9/

In this chapter, let us look at the Python set object which is used to store multiple items just as tuples, lists, and dictionaries.
You can declare a set object with one of these methods:-

set1 = {
Python for Beginners: Inner Join DataFrames in Python

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

The inner join operation is used in database management to join two or more tables. We can also perform inner join operations on two pandas dataframes as they contain tabular values. In this article,
Real Python: How to Add Python to PATH

Link: https://realpython.com/add-python-to-path/

You may need to add Python to PATH if you’ve installed Python, but typing python on the command line doesn’t seem to work. You may be getting a message saying that the term python isn’t recognized, or
Chris Moffitt: Pandas Groupby Warning

Link: https://pbpython.com/groupby-warning.html


Introduction
One of the reasons I like using pandas instead of Excel for data analysis is that it is
easier to avoid certain types of copy-paste Excel errors. As great as pandas is, there
is still pl
Real Python: Sneaky REST APIs With Django Ninja

Link: https://realpython.com/courses/rest-apis-with-django-ninja/

Many web projects have moved to the single-page application model. To use this model with Django, you build a project where Django is the back end accessed through a REST API. The Django Ninja library
Python⇒Speed: Find slow data processing tasks (before your customers do)

Link: https://pythonspeed.com/articles/slow-data-analysis-tasks/

Here are some of the ways you can discover your data processing jobs are too slow:

Jobs start getting killed when they hit timeouts.
Customers start complaining about slow or failed jobs.
Your cloud
PyCoder’s Weekly: Issue #544 (Sept. 27, 2022)

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

#544 – SEPTEMBER 27, 2022 View in Browser » Python as an Efficiency Tool for Non-Developers Are you interested in using Python in an industry outside of software development? Would adding a few
Python for Beginners: Left Join Dataframes in Python

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

The left join operation is used in SQL to join two tables. In this article, we will discuss how we can perform left join operation on two dataframes in python.
What is Left Join Operation?
Suppose tha
Real Python: Custom Python Strings: Inheriting From str vs UserString

Link: https://realpython.com/inherit-python-str/

The Python str class has many useful features that can help you out when you’re processing text or strings in your code. However, in some situations, all these great features may not be enough for you
IslandT: Python Tutorial — Chapter 10

Link: https://islandtropicaman.com/wp/2022/09/29/python-tutorial-chapter-10/

In this article let us look at the logical condition statements in Python. The condition statements usually come together with the if else statement.
Find whether a number is equal to or greater than
IslandT: Python Tutorial — Chapter 11

Link: https://islandtropicaman.com/wp/2022/09/29/python-tutorial-chapter-11/

In this chapter let us create a python while loop to find the odd numbers within a python list.
The loop will use the continue statement to skip the even numbers and will only put an odd number in ano
IslandT: Python Tutorial — Chapter 12

Link: https://islandtropicaman.com/wp/2022/09/29/python-tutorial-chapter-12/

In this chapter let us create two examples to demonstrate to you the use of Python for loop.
Print out the elements within a Python list using python for loop.

a = [1,2,3,4,5,6] # a list consists of
Talk Python to Me: #383: Textinator and Building macOS Apps with Python

Link: https://talkpython.fm/episodes/show/383/textinator-and-building-macos-apps-with-python

For all the amazing powers of Python, deploying packaged apps that leverage native OS-level capabilities isn't one of them. But it can be done and we have a great guest, Rhet Turnbull, here to tell us
Zero to Mastery: Python Monthly Newsletter 💻🐍

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

34th 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
Ahmed Bouchefra: Add days to dates in Python

Link: https://efficientcoder.net/add-days-dates-python/

In this example, we’ll see how to add days to dates in python.
To add days to a date in python, you simply need to use the timedelta() class that you should import from the datetime module.
For exampl
Python Bytes: #303 This title is required or is it optional?

Link: https://pythonbytes.fm/episodes/show/303/this-title-is-required-or-is-it-optional

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

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

<p><strong>About the show</strong></p>
PyBites: Practical Django with Antonio Melé

Link: https://pybit.es/articles/pp89-practical-django-with-antonio-mele/

Listen here:

This week we have Antonio Melé on the show, CTO & co-founder at Nucoro and author of Django 4 by Example.
We talk about:
– His day to day at Nucoro.
– Why he chose Django as a web framew