PythonHub
2.42K subscribers
2.35K photos
49.1K links
News & links about Python programming.
https://pythonhub.dev/
Download Telegram
Professional Pandas: The Pandas Assign Method and Chaining

This is the first in a series of blog posts that teach how to write professional-quality pandas code. In this post, we discuss the pandas assign function, and how it can be used together with chaining to create clean, readable code.

https://ponder.io/professional-pandas-the-pandas-assign-method-and-chaining/
Build Your Own Mobile Proxy for Web Scraping

In this guide, we show how you can build your own mobile proxy pool step by step. The most common use case for mobile proxies is web scraping. If you have a low success rate and keep getting blocked by websites you want to scrape, this guide is for you.

https://scrapingfish.com/blog/byo-mobile-proxy-for-web-scraping
Memory Management in Python - Part 3: Object Lifetimes and Garbage Collection

We ended Part 2 with an exploration of the weird and wonderful things that can happen when you override the eq magic method in Python. Now, in Part 3, we’re going to look at doing the same thing with a different magic method: del.

https://anvil.works/articles/pointers-in-my-python-3
New BucketRateLimiter Python package to rate limit requests to APIs

https://pypi.org/project/bucketratelimiter/
Building A Financial Dashboard In Python With Dash

Learn how to build a simple financial dashboard in Python using Plotly Dash by diving into loading financial data from a CSV file, generating extra columns, and how to build interactive components to control what you see on the dashboard.

https://www.youtube.com/watch?v=GlRauKqI08Y
Understanding async Python for the web

What is “async” Python? Why do people care about it so much? And is it really that useful for building web apps? What are all these new frameworks and other tools about? So let’s dive in.

https://www.b-list.org/weblog/2022/aug/16/async/
SymPy: Solving Math Equations in Python and Jupyter

https://codesolid.com/sympy-solving-math-equations-in-python/
Bayesian Age/Period/Cohort Models in Python with PyMC

This post shows how to use pymc to build Bayesian APC models in Python and presents a series of increasingly sophistocated systems of priors to resolve the inferential challenges these models pose.

https://austinrochford.com/posts/apc-pymc.html
The Jupyter+git problem is now solved

Jupyter notebooks don’t work with git by default. With nbdev2, the Jupyter+git problem has been totally solved. It provides a set of hooks which provide clean git diffs, solve most git conflicts automatically, and ensure that any remaining conflicts can be resolved entirely within the standard Jupyter notebook environment. To

https://www.fast.ai/2022/08/25/jupyter-git/