Planet Python RSS
214 subscribers
17K links
Unofficial Planet Python RSS feed from planetpython.org. Maintained by @cfinnberg
Download Telegram
ItsMyCode: How to Fix: module ‘pandas’ has no attribute ‘dataframe’

Link: https://itsmycode.com/how-to-fix-module-pandas-has-no-attribute-dataframe/

We get AttributeError: module ‘pandas’ has no attribute ‘dataframe’ when the Pandas module is unable to resolve and initialize the DataFrame class. The AttributeError usually occurs if the class is no
Mike Driscoll: PyDev of the Week: Sundeep Agarwal

Link: https://www.blog.pythonlibrary.org/2022/01/31/pydev-of-the-week-sundeep-agarwal/

This week we welcome Sundeep Agarwal (@learn_byexample) as our PyDev of the Week! Sundeep has authored more than 10 books about RegEx, Awk, Python and more! You can see what else Sundeep has been up t
Python GUIs: PySide2 vs PySide6: What are the differences, and is it time to upgrade?

Link: https://www.pythonguis.com/faq/pyside2-vs-pyside6/

If you are already developing Python GUI apps with PySide2, you might be asking yourself whether it's time to upgrade to PySide6 and use the latest version of the Qt library. In this article we'll loo
ItsMyCode: How to Add a Title to Seaborn Plots

Link: https://itsmycode.com/how-to-add-a-title-to-seaborn-plots/

There are four different methods to add a title to seaborn plots. Let us explore each of these methods in detail with examples.
Method 1: Using set() method
The set() method is used to add different e
ItsMyCode: How to Create a Pie Chart in Seaborn

Link: https://itsmycode.com/how-to-create-a-pie-chart-in-seaborn/

We do not have any built-in function to create Pie chart in seaborn, but with the help of Matplotlib, we can create a pie chart and leverage seaborn for color pallets.
A pie chart (or a circle chart)
ItsMyCode: How to Install Seaborn in Python using the Pip command

Link: https://itsmycode.com/install-seaborn-in-python-using-pip-command/

This tutorial will learn how to install Seaborn in Python using the Pip command.
Seaborn is a library for making statistical graphics in Python. It is built on top of matplotlib and closely integrated
Stack Abuse: Guide to enumerate() in Python - Easy for Loops with Counting

Link: https://stackabuse.com/guide-to-enumerate-in-python-forget-loops-with-counters/

Introduction
Looping with a counter variable/index - a classic in Computer Science! Typically, you'd either explicitly define a counter variable/index, and manually increment it on each loop, or you'd
ItsMyCode: TypeError: only size-1 arrays can be converted to python scalars

Link: https://itsmycode.com/typeerror-only-size-1-arrays-can-be-converted-to-python-scalars/

We get this error generally while working with NumPy and Matplotlib. If you have a function that accepts a single value, but if you pass an array instead, you will encounter TypeError: only size-1 arr
PyCharm: PyCharm 2021.3.2 Is Out

Link: https://blog.jetbrains.com/pycharm/2022/01/2021-3-2/

Bug fixes highlighted in this second minor release of PyCharm 2021.3:
We fixed the IDE’s freeze while indexing WSL projects [IDEA-286059]We fixed a bug with Python string literals that were treated as
Real Python: Draw the Mandelbrot Set in Python

Link: https://realpython.com/mandelbrot-set-python/

This tutorial will guide you through a fun project involving complex numbers in Python. You’re going to learn about fractals and create some truly stunning art by drawing the Mandelbrot set using Pyth
Python Morsels: Supporting index and key lookups

Link: https://www.pythonmorsels.com/topics/supporting-index-and-key-lookups/




In Python, you can customize how square brackets ([]) work on your objects.
Index and key lookups both use square brackets
Lists in Python support indexing using square brackets:
>>> colors = ["pur
PyCharm: PyCharm 2022.1 EAP is open!

Link: https://blog.jetbrains.com/pycharm/2022/01/pycharm-2022-1-eap-is-open/

It’s that time of the year when we count on your early feedback to help us prepare for the next major PyCharm release. The Early Acces Program (EAP) is designed to give our users and community members
Test and Code: 178: The Five Factors of Automated Software Testing

Link: https://testandcode.com/178

"There are five practical reasons that we write tests. Whether we realize it or not, our personal testing philosophy is based on how we judge the relative importance of these reasons." - Sarah Mei
Thi
Django Weblog: Django security releases issued: 4.0.2, 3.2.12, and 2.2.27

Link: https://www.djangoproject.com/weblog/2022/feb/01/security-releases/

In accordance with our security release policy, the Django team
is issuing
Django 4.0.2,
Django 3.2.12, and
Django 2.2.27.
These release addresses the security issues detailed below. We encourage all
Zero to Mastery: Python Monthly Newsletter 💻🐍 January 2022

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

26th issue of the Python Monthly Newsletter! Read by 20,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
Real Python: Python's len() Function

Link: https://realpython.com/courses/pythons-len-function/

In many situations, you’ll need to find the number of items stored in a data structure. Python’s built-in function len() is the tool that will help you with this task.
There are some cases in which th
Python for Beginners: Arithmetic Sequence In Python

Link: https://www.pythonforbeginners.com/basics/arithmetic-sequence-in-python

You might have heard about arithmetic sequences and geometric sequences in your mathematics classes. In this article, we will discuss arithmetic sequences. We will also implement programs to perform d