Planet Python RSS
214 subscribers
17K links
Unofficial Planet Python RSS feed from planetpython.org. Maintained by @cfinnberg
Download Telegram
ItsMyCode: [Solved] Pandas TypeError: no numeric data to plot

Link: https://itsmycode.com/solved-pandas-typeerror-no-numeric-data-to-plot/

ItsMyCode |
In Pandas, we can only plot values with the numeric data type. If you try to plot with any other Data Type other than numeric data, Python will raise TypeError: no numeric data to plot.
In
Will McGugan: Weeknotes

Link: https://www.willmcgugan.com/blog/tech/post/weeknotes/

I'm trialing the idea of Weeknotes, a weekly summary of what I've done / learned in the prior week. Inspired by Simon Willison who has an uncanny ability to respond to a tweet with a link to a weeknot
Real Python: The Real Python Podcast – Episode #93: Launching Python, Virtual Environments, and Locking Dependencies With Brett Cannon

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

Would you like a simple command to launch your Python programs using v the newest version of the language installed on your machine? This week on the show, we continue our conversation with Brett C
Ned Batchelder: Cog resurgence

Link: https://nedbatchelder.com/blog/202201/cog_resurgence.html

My cog tool has been having a resurgence of late: a
number of people are discovering it’s useful to run a little bit of Python code
inside otherwise static files.It took cog 17 years to become an over
Kay Hayen: First Nuitka Live Stream

Link: https://nuitka.net/posts/first-nuitka-live-stream.html

Tomorrow, Saturday 15.01.2022, there will be not one, but two live
stream of me coding on Nuitka, and talking and chatting with visitors in
the Discord channel created specifically for this. I will go
Python Insider: Python 3.10.2, 3.9.10, and 3.11.0a4 are now available

Link: https://pythoninsider.blogspot.com/2022/01/python-3102-3910-and-3110a4-are-now.html

Before we begin the usual round of release notes, please do note that
the three new versions of Python released today do not contain Windows
installers yet. This is temporary, due to a more complex
Daniel Roy Greenfeld: Autodocumenting Makefiles

Link: https://daniel.feldroy.com/posts/autodocumenting-makefiles

A few years ago Fabio da Luz taught me some Makefile tricks. This is an expansion on what he taught me (I added the output list and sort feature).
Using PYSCRIPT to Print Documentation
At the top of y
Brett Cannon: Unravelling subscriptions in Python

Link: https://snarky.ca/unravelling-subscriptions-in-python/

For the next post in my syntactic sugar series I want to cover subscriptions. It&aposs quite possible you&aposre not familiar with this formal term, but you are probably familiar with the syntax: the
ItsMyCode: AttributeError: ‘numpy.ndarray’ object has no attribute ‘index’

Link: https://itsmycode.com/attributeerror-numpy-ndarray-object-has-no-attribute-index/

ItsMyCode |
The AttributeError: ‘numpy.ndarray’ object has no attribute ‘index’ occurs when you attempt to use the index() method on a NumPy array that does not have any index attribute to use.
In thi
ItsMyCode: How to rename columns in Pandas DataFrame

Link: https://itsmycode.com/how-to-rename-columns-in-pandas-dataframe/

ItsMyCode |
 Pandas is a useful library in data analysis, and Pandas DataFrame is Two-dimensional, size-mutable, potentially heterogeneous tabular data. In this tutorial, let’s see how to rename colum
ItsMyCode: TypeError: ‘numpy.float64’ object cannot be interpreted as an integer

Link: https://itsmycode.com/typeerror-numpy-float64-object-cannot-be-interpreted-as-an-integer/

ItsMyCode |
The TypeError: ‘numpy.float64’ object cannot be interpreted as an integer occurs if you pass a float value to a function like range() which accepts only integer.
In this tutorial, let us l
ItsMyCode: Pandas : How to Find Unique Values in a Column

Link: https://itsmycode.com/pandas-how-to-find-unique-values-in-a-column/

ItsMyCode |
We can find unique values of a column in Pandas DataFrame using the unique() function.
The unique() method filters out only unique values from a column. In this tutorial, we will learn how
Podcast.__init__: An Exploration Of Effective Pandas Practices With Matt Harrison

Link: https://www.pythonpodcast.com/effective-pandas-book-episode-348/

Pandas has grown to be a ubiquitous tool for working with data at every stage. It has become so well known that many people learn Python solely for the purpose of using Pandas. With all of this activi
PyCon: Startup Row Applications Are Open, But Not For Long!

Link: https://pycon.blogspot.com/2022/01/pycon-startup-row-2022-applications.html

It’s official: PyCon 2022 in Salt Lake City will mark more than a decade of support for early-stage startups, and applications are now open! For the “do first and read later” folks reading this, apply
Python GUIs: Packaging PyQt5 applications for Windows, with PyInstaller & InstallForge (updated for 2022)

Link: https://www.pythonguis.com/tutorials/packaging-pyqt5-pyside2-applications-windows-pyinstaller/

There is not much fun in creating your own desktop applications if you can't share them with other people — whether than means publishing it commercially, sharing it online or just giving it to someon
ItsMyCode: Python PermissionError: [Errno 13] Permission denied

Link: https://itsmycode.com/python-permissionerror-errno-13-permission-denied/

If we provide a folder path instead of a file path while reading file or if Python does not have the required permission to perform file operations(open, read, write), you will encounter PermissionErr
Kay Hayen: Next Nuitka Live Stream

Link: https://nuitka.net/posts/next-nuitka-live-stream-30-01-2022.html

Today, Sunday 30.01.2022, there will be the third live stream of me
coding on Nuitka, and talking and chatting with visitors in the Discord
channel created specifically for this. I will go from 9-12 C
Armin Ronacher: Uninitialized Memory: Unsafe Rust is Too Hard

Link: http://lucumr.pocoo.org/2022/1/30/unsafe-rust

Rust is in many ways not just a modern systems language, but also quite
a pragmatic one. It promises safety and provides an entire framework that
makes creating safe abstractions possible with minima