Planet Python RSS
216 subscribers
16.9K links
Unofficial Planet Python RSS feed from planetpython.org. Maintained by @cfinnberg
Download Telegram
PyCharm: Getting Started in Data Science: EuroPython 2023 Follow-Up

Link: https://blog.jetbrains.com/pycharm/2023/08/getting-started-in-data-science-europython-2023-follow-up/

One of my favorite parts of my job as a developer advocate is being able to help people get started in data science. I still remember when I made the transition from academia to data science almost 8
Stack Abuse: How to Reverse a String in Python

Link: https://stackabuse.com/how-to-reverse-a-string-in-python/

Introduction
Python is a versatile and powerful language with a wide array of built-in functions and libraries. Whether its for a coding interview or your application, you may find yourself needing to
Stack Abuse: Randomly Select an Item from a List in Python

Link: https://stackabuse.com/randomly-select-an-item-from-a-list-in-python/

Introduction
In Python, lists are among the most widely used data structures due to their versatility. They can hold a variety of data types and are easily manipulated. One task you may come across is
Stack Abuse: Dropping NaN Values in Pandas DataFrame

Link: https://stackabuse.com/dropping-nan-values-in-pandas-dataframe/

Introduction
When working with data in Python, it's not uncommon to encounter missing or null values, often represented as NaN. In this Byte, we'll see how to handle these NaN values within the contex
Stack Abuse: Python: Accessing the Last Element of a List

Link: https://stackabuse.com/python-accessing-the-last-element-of-a-list/

Introduction
In Python, lists are one of the most used data types,
We commonly use lists to store data in Python, and for good reason, they offer a great deal of flexibility with their operations. One
Stack Abuse: Creating a Singleton in Python

Link: https://stackabuse.com/creating-a-singleton-in-python/

Introduction
Of all the design patterns, the Singleton pattern holds a unique place. It's straightforward, yet is often misunderstood. In this Byte, we'll try to explain the Singleton pattern, underst
Go Deh: "Staring at assorted perms and Python", or "The Ranking and Unranking of Lexical Permutations"

Link: http://paddy3118.blogspot.com/2023/08/staring-at-assorted-perms-and-python-or.html

 I have been playing with encryptions and then series that involved permutations. Submitting my Godeh series to the OEIS made me look closer at the permutations that Python produces, and at maybe redu
Stack Abuse: Common Docstring Formats in Python

Link: https://stackabuse.com/common-docstring-formats-in-python/

Introduction
When you're knee-deep in Python code, comprehensive documentation can be a lifesaver (but, admittedly, the last thing you want to write). It's an important part of programming, and Python
Stack Abuse: Installing Python Packages from a Git Repo with pip

Link: https://stackabuse.com/installing-python-packages-from-a-git-repo-with-pip/

Introduction
Python, a versatile and powerful programming language, boasts an extensive ecosystem of packages. These packages can be easily managed and installed using pip, Python's package installer.
Shannon -jj Behrens: Python: My Favorite Python Tricks for LeetCode Questions

Link: http://www.jjinux.com/2022/08/python-my-favorite-python-tricks-for.html

I've been spending a lot of time practicing on LeetCode recently, so I thought I'd share some of my favorite intermediate-level Python tricks. I'll also cover some newer features of Python you may not
Stack Abuse: The Python Magic Methods: __str__ vs __repr__

Link: https://stackabuse.com/the-python-magic-methods-str-vs-repr/

Introduction
Python, being a high-level, interpreted language, is known for its easy readability with great design principles. However, when you delve deeper into Python, some things may seem complex
Stack Abuse: Writing a Pandas DataFrame to a CSV File in Python

Link: https://stackabuse.com/writing-a-pandas-dataframe-to-a-csv-file-in-python/

Introduction
Working with data is a big part of any data analysis project. In Python, the Pandas library is a powerful tool that provides flexible and efficient data structures to make the process of
PyCharm: PyCharm 2023.2.1 Is Out!

Link: https://blog.jetbrains.com/pycharm/2023/08/2023-2-1/

PyCharm 2023.2.1, the first bug-fix update for PyCharm 2023.2, is now available!
You can update to v2023.2.1 by using the Toolbox App, installing it right from the IDE, or downloading it from our webs
Real Python: How to Iterate Through a Dictionary in Python

Link: https://realpython.com/iterate-through-dictionary-python/

Dictionaries are one of the most important and useful built-in data structures in Python. They’re everywhere and are a fundamental part of the language itself. In your code, you’ll use dictionaries to
death and gravity: reader 3.9 released

Link: https://death.andgravity.com/reader-3-9

Hi there!
I'm happy to announce version 3.9 of reader, a Python feed reader library.
What's new? #
Here are the highlights since reader 3.7.
Better handling of unexpected update errors #
Unexpected ex
Brian Okken: pytest Course - Ch3 pytest Fixtures is up

Link: https://pythontest.com/posts/2023/2023-pytest-course-ch3-fixtures/

Just a quick note that “Chapter 3, pytest Fixtures” is now available in the pytest course . Also, the 20% discount is active until the end of August.
Stack Abuse: Flush the Output of the print() Function in Python

Link: https://stackabuse.com/flush-the-output-of-the-print-function-in-python/

Introduction
In Python, the print function is a fundamental tool for outputting data to the console (and for many of us, our primary debugging tool). But, as you may have run into, sometimes the outpu
Stack Abuse: Reading from stdin in Python

Link: https://stackabuse.com/reading-from-stdin-in-python/

Introduction
In most programming languages, data can be read from various sources, like files, databases, or user input. However, one of the most common forms of input is the standard input, or stdin.