Planet Python RSS
216 subscribers
16.9K links
Unofficial Planet Python RSS feed from planetpython.org. Maintained by @cfinnberg
Download Telegram
PyCoder’s Weekly: Issue #400 (Dec. 24, 2019)

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

#400 – DECEMBER 24, 2019 View in Browser » Python Dictionary Iteration: Advanced Tips & Tricks In this intermediate-level course, you’ll take a deep dive into how to iterate through a dictionary
Andre Roberge: Xmas present from Thonny

Link: https://aroberge.blogspot.com/2019/12/xmas-present-from-thonny.html

Today, a new version (3.2.5) of Thonny has been released. It incorporates support for Friendly-traceback (which needs to be installed separately). Currently, the download link on Thonny's homepage sti
John Cook: Calculating the period of Van der Pol oscillators

Link: https://www.johndcook.com/blog/2019/12/26/van-der-pol-period/

A few days ago I wrote about how to solve differential equations with SciPy’s ivp_solve function using Van der Pol’s equation as the example. Van der Pol’s equation is

The parameter μ controls the am
Stack Abuse: Heap Sort in Python

Link: https://stackabuse.com/heap-sort-in-python/

Introduction
Heap Sort is another example of an efficient sorting algorithm. Its main advantage is that it has a great worst-case runtime of O(n*logn) regardless of the input data.
As the name suggest
Python Data: Market Basket Analysis with Python and Pandas

Link: https://pythondata.com/market-basket-analysis-with-python-and-pandas/

If you’ve ever worked with retail data, you’ll most likely have run across the need to perform some market basket analysis (also called Cross-Sell recommendations).  If you aren’t sure what market bas
Python Data: Python Data Weekly Roundup – Dec 27 2019

Link: https://pythondata.com/python-data-weekly-roundup-dec-27-2019/

In this week’s Python Data Weekly Roundup:Picks On AI Trends from Data Natives 2019This article provides a good overview of the Data Natives 2019 – Europe meeting and the main trends being discussed f
Weekly Python StackOverflow Report: (ccviii) stackoverflow python report

Link: http://python-weekly.blogspot.com/2019/12/ccviii-stackoverflow-python-report.html

These are the ten most rated questions at Stack Overflow last week.Between brackets: [question score / answers count]Build date: 2019-12-28 13:35:33 GMTSort one list based on another Python - [10/4]We
Armin Ronacher: Open Source Migrates With Emotional Distress

Link: http://lucumr.pocoo.org/2019/12/28/open-source-migrates

Legacy code is bad and if you keep using it, it's really your own fault.
There are many variations of the same thing floating around in Open Source
communities and it always comes down to the same thi
Catalin George Festila: Python 3.7.5 : Fix to python language the GitHub project.

Link: http://python-catalin.blogspot.com/2019/12/python-375-fix-to-python-language.html

I created a GitHub project with Django and I saw is detect like tcl programming language:

You need to create a file named .gitattributes in the root folder of my repository.
Use this source code to t
Erik Marsja: How to use Pandas get_dummies to Create Dummy Variables in Python

Link: https://www.marsja.se/how-to-use-pandas-get_dummies-to-create-dummy-variables-in-python/?utm_source=rss&utm_medium=rss&utm_campaign=how-to-use-pandas-get_dummies-to-create-dummy-variables-in-python

The post How to use Pandas get_dummies to Create Dummy Variables in Python appeared first on Erik Marsja.
In this post, we will learn how to use Pandas get_dummies() method to create dummy variables i
Real Python: Python Timer Functions: Three Ways to Monitor Your Code

Link: https://realpython.com/python-timer/

While many developers recognize Python as an effective programming language, pure Python programs may run slower than their counterparts in compiled languages like C, Rust, and Java. Throughout this t
John Cook: Minimizing context switching between shell and Python

Link: https://www.johndcook.com/blog/2019/12/30/shell-and-python/

Sometimes you’re in the flow using the command line and you’d like to briefly switch over to Python without too much interruption. Or it could be the other way around: you’re in the Python REPL and ne
qutebrowser development blog: 2019 qutebrowser crowdfunding - reminder

Link: https://blog.qutebrowser.org/2019-qutebrowser-crowdfunding-reminder.html

Two months ago, I wrote:
Just like in the 2017/2018 crowdfundings, it'll be possible to get t-shirts and stickers again. I'll also add some new swag to the mix :)
Just a quick reminder: If you want ph
Zero-with-Dot (Oleg Żero): Training on batch: how to split data effectively?

Link: https://zerowithdot.com/splitting-to-batches/

Introduction
With increasing volumes of the data, a common approach to train machine-learning models is to apply the so-called training on batch.
This approach involves splitting a dataset into a seri