Planet Python RSS
214 subscribers
17.1K links
Unofficial Planet Python RSS feed from planetpython.org. Maintained by @cfinnberg
Download Telegram
Python Pool: 5 Easy Ways in Python to Remove Nan from List

Link: https://www.pythonpool.com/python-remove-nan-from-list/?utm_source=rss&utm_medium=rss&utm_campaign=python-remove-nan-from-list

The post 5 Easy Ways in Python to Remove Nan from List appeared first on Python Pool.
In python, NaN stands for Not a Number. It is used to represent values that are not present in a dataset or file.
Stack Abuse: Python's itertools - compress(), dropwhile(), takewhile() and groupby()

Link: https://stackabuse.com/pythons-itertools-compress-dropwhile-takewhile-and-groupby

Introduction
In this guide, we'll take a look at how to harness the power of iterators using Python's itertools module.
The itertools module provides us with an interface for creating fast and memory-
Quansight Labs Blog: Pyflyby: Improving Efficiency of Jupyter Interactive Sessions

Link: https://labs.quansight.org/blog/2021/07/pyflyby-improving-efficiency-of-jupyter-interactive-sessions/

Interruption hinder productivity more than interruption. A notification, random
realization, or unrelated error can derail one's train of thought when deep in a
complex analysis – a frustrating experi
Real Python: What Can I Do With Python?

Link: https://realpython.com/what-can-i-do-with-python/

You’ve finished a course or finally made it to the end of a book that teaches you the basics of programming with Python. You’ve learned about variables, lists, tuples, dictionaries, for and while loop
Python for Beginners: File handling using os module in Python

Link: https://www.pythonforbeginners.com/filehandling/file-handling-using-os-module-in-python


You might have used inbuilt functions to perform operations on files in python. In this article, we will try to implement file handling using os module to perform the file operations like python read
Python Bytes: #241 f-yes we want some f-string tricks!

Link: https://pythonbytes.fm/episodes/show/241/f-yes-we-want-some-f-string-tricks

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

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

<p><strong>About the show</strong></p>
Codementor: Python Program to Check a Number is Prime or Not

Link: https://www.codementor.io/valipishetty/python-program-to-check-a-number-is-prime-or-not-1jlwpbavxj

Factors of a number: When two whole numbers are multiplied, the result is a product. The factors of the product are the numbers we multiply. In mathematics, a factor is a number or algebraic&hellip;
Andre Roberge: friendly-traceback is back!

Link: https://aroberge.blogspot.com/2021/07/friendly-traceback-is-back.html

 A few months ago, I mentioned that friendly-traceback had been renamed friendly. As friendly/friendly-traceback evolved, the number of dependencies increased. For some third-party projects that use f
Python for Beginners: Bytearray in Python

Link: https://www.pythonforbeginners.com/data-types/bytearray-in-python


You must have studied different data types in python such as strings and numeric data types like integers and floating point numbers. In this article you will learn about another data type called byt
Ben Cook: Development containers in VS Code: a quick start guide

Link: https://sparrow.dev/devcontainers-quickstart/

If you’re building production ML systems, dev containers are the killer feature of VS Code. Dev containers give you full VS Code functionality inside a Docker container. This lets you unify your dev a
Ben Cook: Poetry for Package Management in Machine Learning Projects

Link: https://sparrow.dev/python-poetry-machine-learning/

When you’re building a production machine learning system, reproducibility is a proxy for the effectiveness of your development process. But without locking all your Python dependencies, your builds a
Read the Docs: Read the Docs newsletter - July 2021

Link: https://blog.readthedocs.com/newsletter-july-2021/


Welcome to a new edition of our monthly newsletter, where we
share the most relevant updates around Read the Docs,
offer a summary of new features we shipped
during the previous month,
and share what
Test and Code: 160: DRY, WET, DAMP, AHA, and removing duplication from production code and test code

Link: https://testandcode.com/160

Should your code be DRY or DAMP or something completely different?
How about your test code? Do different rules apply?
Wait, what do all of these acronyms mean?
We'll get to all of these definitions,
Simple is Better Than Complex: What You Should Know About The Django User Model

Link: https://simpleisbetterthancomplex.com/article/2021/07/08/what-you-should-know-about-the-django-user-model.html

The goal of this article is to discuss the caveats of the default Django user model implementation and also to give you
some advice on how to address them. It is important to know the limitations of
Programming Ideas With Jake: Command and Command Handlers (and Why I Don’t Care Much For Them)

Link: https://programmingideaswithjake.wordpress.com/2021/07/08/command-and-command-handlers-and-why-i-dont-care-much-for-them/

The Command pattern is typically overkill. Here, I discuss an alternative that gives most of the benefits of the Command pattern and fewer weaknesses.
Zato Blog: Scalable API and AI architectures

Link: https://zato.io/blog/posts/scalable-api-ai-architectures.html

Architectural tenets
The architecture of Zato reflects several key foundational concepts underlying
the design of the platform. Each component of the architecture takes each of the concepts into accou
Real Python: The Real Python Podcast – Episode #68: Exploring the functools Module and Complex Numbers in Python

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

Are you ready to expand your Python knowledge into the intermediate to advanced territory? What tools are awaiting your discovery inside Python's functools module? This week on the show, David Amos is
Stack Abuse: Python: Remove the Prefix and Suffix From a String

Link: https://stackabuse.com/python-remove-the-prefix-and-suffix-from-a-string

Introduction
There are multiple ways to remove whitespace and other characters from a string in Python. The most commonly known methods are strip(), lstrip(), and rstrip(). Since Python version 3.9, t