Planet Python RSS
216 subscribers
16.9K links
Unofficial Planet Python RSS feed from planetpython.org. Maintained by @cfinnberg
Download Telegram
Python Engineering at Microsoft: The Python Pulse: A BiWeekly Microsoft Stream

Link: https://devblogs.microsoft.com/python/announcing-python-pulse/




We’re excited to announce a new monthly livestream! Each stream we start with a run down of the latest news in Microsoft Cloud, VS Code and Python tech ecosystem; then we deep dive into special seg
John Ludhi/nbshare.io: Demystifying Stock Options Vega Using Python

Link: https://www.nbshare.io/notebook/992875219/Demystifying-Stock-Options-Vega-Using-Python/







Demystifying Stock Options Vega Using Python










The vega of an option is expressed as a percentage, and it represents the change in the option's price for a 1% change in the implied volat
PyBites: It’s not you – it’s me

Link: https://pybit.es/articles/its-not-you-its-me/

Every so often I get convinced that a challenge test suite is wrong or Python is somehow giving me the wrong results.
“It’s You”!
I checked and quadruple-checked my code. I walked through every sing
Read the Docs: Read the Docs newsletter - January 2023

Link: https://blog.readthedocs.com/newsletter-january-2023/

Happy 2023!
News and updates
Here are the latest updates from our team since the previous newsletter:

📹️ Eric delivered a talk at DjangoCon US 2022 with practical tips for developing state of the art
PyCoder’s Weekly: Issue #559 (Jan. 10, 2023)

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

#559 – JANUARY 10, 2023 View in Browser » Discover bpython: A Python REPL With IDE-Like Features In this tutorial, you’ll learn about bpython, an alternative Python REPL that brings code suggest
Python Insider: Python 3.12.0 alpha 4 released

Link: https://pythoninsider.blogspot.com/2023/01/python-3120-alpha-4-released.html

I'm pleased to announce the release of Python 3.12 alpha 4.https://www.python.org/downloads/release/python-3120a4/This is an early developer preview of Python 3.12.Major new features of the 3.12 serie
John Ludhi/nbshare.io: Plot Stock Options Vega Implied Volatility Using Python Matplotlib

Link: https://www.nbshare.io/notebook/615052180/Plot-Stock-Options-Vega-Implied-Volatility-Using-Python-Matplotlib/







Plot Stock Options Vega, Implied Volatility Using Python Matplotlib










If you are new to Stock Options Vega and Implied Volatility, I would recommend visiting the following notebooks firs
Python Bytes: #318 GIL, How We Will Miss You

Link: https://pythonbytes.fm/episodes/show/318/gil-how-we-will-miss-you

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

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

<p>Sponsored by <a href="http://pythonbytes.fm/f
Python for Beginners: Pandas Apply Function to Dataframe or Series

Link: https://www.pythonforbeginners.com/basics/pandas-apply-function-to-dataframe-or-series

The pandas apply() or applymap() method is used to apply a function to values in a dataframe or a series. In this article, we will discuss the syntax and use of the pandas apply function in Python. 
T
Real Python: Python Folium: Create Web Maps From Your Data

Link: https://realpython.com/python-folium-web-maps-from-data/

If you’re working with geospatial data in Python, then you might want to quickly visualize that data on a map. Python’s Folium library gives you access to the mapping strengths of the Leaflet JavaScri
Mike Driscoll: Python Quiz 1 - Exceptionally Crazy

Link: https://www.blog.pythonlibrary.org/2023/01/11/python-quiz-1-exceptionally-crazy/

The Python programming language allows you to catch exceptions using the try / except construct. But what happens if you nest exception handlers and throw in a break statement too?
Your mission in thi
John Ludhi/nbshare.io: JSON Parse Error Syntax Error Unexpected token N In JSON

Link: https://www.nbshare.io/notebook/240295205/JSON-Parse-Error-Syntax-Error-Unexpected-token-N-In-JSON/







JSON Parse Error Syntax Error Unexpected token N In JSON










You will see following error if json String contains values other string or numbers. For example it can happen if you are parsi
Python⇒Speed: Why Polars uses less memory than Pandas

Link: https://pythonspeed.com/articles/polars-memory-pandas/

Processing large amounts of data with Pandas can be difficult; it’s quite easy to run out of memory and either slow down or crash.
The Polars dataframe library is a potential solution.
While Polars is
Abhijeet Pal: Django Authentication using an Email Address

Link: http://djangocentral.com/authentication-using-an-email-address/

Django's built-in User model uses a username as the primary means of identifying a user. However, you may want to use an email for authentication for your web application.In this article, we will show
Abhijeet Pal: How To Create Custom Context Processors in Django

Link: http://djangocentral.com/how-to-create-custom-context-processors-in-django/

Django provides a convenient way to add extra data to the context of a template through context processors. These context processors can be used to display information such as the current user, site-w
Real Python: The Real Python Podcast – Episode #140: Speeding Up Your DataFrames With Polars

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

How can you get more performance from your existing data science infrastructure? What if a DataFrame library could take advantage of your machine's available cores and provide built-in methods for han
Abhijeet Pal: Creating Custom Exception in Django Rest Framework

Link: http://djangocentral.com/creating-custom-exception-in-django-rest-framework/

Django Rest Framework (DRF) provides built-in exception handling that can be used to handle errors and exceptions in a RESTful API. However, in some cases, you may need to create a custom exception to
Python for Beginners: Pandas Applymap to a Dataframe in Python

Link: https://www.pythonforbeginners.com/basics/pandas-applymap-to-a-dataframe-in-python

The pandas applymap() method is used to apply a function to a dataframe element-wise. This article will discuss different ways to use the applymap method with a pandas dataframe.
Table of ContentsThe