Planet Python RSS
214 subscribers
16.8K links
Unofficial Planet Python RSS feed from planetpython.org. Maintained by @cfinnberg
Download Telegram
John Ludhi/nbshare.io: How To Append Rows With Concat to a Pandas DataFrame

Link: https://www.nbshare.io/notebook/336890081/How-To-Append-Rows-With-Concat-to-a-Pandas-DataFrame/







How to append rows with concat to a Pandas DataFrame








In [19]:


import pandas as pd
import requests
import json












For this example, I will load the data from the following api.
Luke Plant: Python Type Hints: case study on parsy

Link: https://lukeplant.me.uk/blog/posts/python-type-hints-parsy-case-study/

I have been trying to like static type checking in Python. For most of my Django projects, I get annoyed and give up, so I’ve had a go with some smaller projects instead. This blog post documents how
PyBites: Loving the Journey towards your Goal

Link: https://pybit.es/articles/pp96-loving-the-journey-towards-your-goal/

Listen here:

Welcome back to our Pybites podcast. This week we talk about Loving the journey to your goal.
We center our discussion about:
1. Setting Goals.
2. What can you do and how can you love
PyBites: How to create a self updating GitHub Readme

Link: https://pybit.es/articles/how-to-create-a-self-updating-github-readme/

It was about time to give my GitHub profile a nice intro so inspired by Simon Willison’s blog post I decided to make an intro Readme that auto-updates.
First I made a GitHub repo called bbelderbos, my
Sebastian Witowski: How to Benchmark (Python) Code

Link: https://switowski.com/blog/how-to-benchmark-python-code/

While preparing to write the Writing Faster Python series, the first problem I faced was "How do I benchmark a piece of code in an objective yet uncomplicated way".
I could run python -m timeit <piece
Mike Driscoll: Python Black Friday / Cyber Monday Sales 2022

Link: https://www.blog.pythonlibrary.org/2022/11/22/python-black-friday-cyber-monday-sales-2022/

It's that time of year again when you can get great deals on Python books and courses!
You can take $10 off ANY of my self-published books on Gumroad by using the following coupon code: black2022
This
PyCoder’s Weekly: Issue #552 (Nov. 22, 2022)

Link: https://pycoders.com/issues/552

#552 – NOVEMBER 22, 2022 View in Browser » Moving Projects Away From Passwords With WebAuthn What if you didn’t have to worry about managing user passwords as a Python developer? That’s where th
Armin Ronacher: A Better Way to Borrow in Rust: Stack Tokens

Link: http://lucumr.pocoo.org/2022/11/23/stack-tokens

As a Rust programmer you are probably quite familiar with how references
work in Rust. If you have a value of type T you can generally get
various references to it by using the ampersand (&) operator
PyCharm: “Support Python with JetBrains” Campaign Extended

Link: https://blog.jetbrains.com/pycharm/2022/11/support-python-with-jetbrains-campaign-extended/


Good news! The Support Python with JetBrains campaign has been extended for another week and will now last until November 29, 2022.
Buy a PyCharm Pro subscription at 30% OFF, have the full amount of
Python for Beginners: Check if a Column Is Sorted in a Pandas Dataframe

Link: https://www.pythonforbeginners.com/basics/check-if-a-column-is-sorted-in-a-pandas-dataframe

Pandas dataframe is a great tool for handling tabular data in python. In this article, we will discuss different ways to check if a column is sorted in a pandas dataframe. 
Table of ContentsCheck if a
Real Python: Microsoft Power BI and Python: Two Superpowers Combined

Link: https://realpython.com/power-bi-python/

Microsoft Power BI is an interactive data analysis and visualization tool that’s used for business intelligence (BI) and that you can now script with Python. By combining these two technologies, you c
The Python Coding Blog: Optional Arguments With Default Values in Python Functions [Intermediate Python Functions Series #3]

Link: https://thepythoncodingbook.com/2022/11/23/optional-arguments-with-default-values-in-python-functions/

We continue our journey through Python functions by looking at optional arguments and default values.
In this article, you’ll see how you can define a function with an optional argument. A default val
Wingware: Wing Python IDE Version 9.0.1 - November 23, 2022

Link: https://wingware.com/news/2022-11-23

Wing 9.0.1 fixes rendering of notebook tabs on Windows when not emulating OS display
style, works around segfaults in Python 3.11 when using lxml, fixes vi mode ci[ and similar
when the cursor is on t
Python Morsels: Python Morsels Cyber Monday Sale 2022

Link: https://www.pythonmorsels.com/sale-2022/

Subscribe to Python Morsels through November 28, 2022 to lock-in a permanent discount. 💰


Table of contents

Day-to-day coding isn't purposeful learning
Guided Python practice every single week
Does
Python GUIs: QPushButton

Link: https://www.pythonguis.com/docs/qpushbutton/

The push button, or command button, is perhaps the most commonly used widget in any graphical user interface (GUI). A button is a rectangular widget that typically displays a text describing its aim.
Python Bytes: #311 Catching Memory Leaks with ... pytest?

Link: https://pythonbytes.fm/episodes/show/311/catching-memory-leaks-with-...-pytest

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

<p><strong>About the show</strong></p>

<h1>Python Bytes 311</h1>

<p>Sponsored by <a hr
Reuven Lerner: Improve your Python skills — at 40% off

Link: https://lerner.co.il/2022/11/24/improve-your-python-skills-at-40-off/

Python has never been hotter. It’s a skill that everyone can use to improve their career — to improve your current job, or to get a great new job.
So it’s a good idea to learn Python. Or if you alread
Real Python: The Real Python Podcast – Episode #134: Building Python REST APIs With Flask & Structuring Pull Requests

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

How do you build a REST API using the Flask web framework? How can you quickly add endpoints while automatically generating documentation? This week on the show, Real Python author Philipp Acsany is h
Python for Beginners: Import Python File Into a Program in Python

Link: https://www.pythonforbeginners.com/basics/import-python-file-into-a-program-in-python

In python, we perform most of our tasks by importing different in-built libraries. In this article, we will discuss how we can In this article, we have discussed how to import a python file into a pyt
Django Weblog: 2022 Malcolm Tredinnick Memorial Prize awarded to Paolo Melchiorre

Link: https://www.djangoproject.com/weblog/2022/nov/25/2022-malcolm-tredinnick-memorial-prize-awarded-to/

The Django Software Foundation Board is pleased to announce that the 2022 Malcolm Tredinnick Memorial Prize has been awarded to Paolo Melchiorre.
Paolo Melchiorre has been a member of the Python commu