Planet Python RSS
216 subscribers
16.9K links
Unofficial Planet Python RSS feed from planetpython.org. Maintained by @cfinnberg
Download Telegram
Real Python: The Real Python Podcast – Episode #126: Python as an Efficiency Tool for Non-Developers

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

Are you interested in using Python in an industry outside of software development? Would adding a few custom software tools increase efficiency and make your coworkers' jobs easier? This week on the s
Python for Beginners: Rename Columns in a Dataframe in Python

Link: https://www.pythonforbeginners.com/basics/rename-columns-in-a-dataframe-in-python

Pandas dataframes are one of the most efficient data structures to handle tabular data in python. When we import tabular data into dataframes from csv files, we usually need to rename the columns in t
PyCharm: PyCharm 2022.3 EAP 1 Is Out!

Link: https://blog.jetbrains.com/pycharm/2022/09/2022-3-eap-1/

We are launching the Early Access Program (EAP) for PyCharm 2022.3! This means that you can get access to the features that we are still polishing for the major release. We are looking forward to all
PyBites: Help, I need to refactor a mega class! Here are 5 tips …

Link: https://pybit.es/articles/tips-for-refactoring-a-mega-class/

Somebody asked the other day for tips on how to refactor a mega-class? It was actually one of the first tasks on the new job, ouch!
A single class, several thousands lines of code, no tests available
IslandT: Python Tutorial — Chapter 8

Link: https://islandtropicaman.com/wp/2022/09/24/python-tutorial-chapter-8/

In this chapter let us look at the python dictionary collection object. Python dictionary object has both key and value pair and it is used to store data. The key of the python dictionary is not dupli
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