Planet Python RSS
213 subscribers
17K links
Unofficial Planet Python RSS feed from planetpython.org. Maintained by @cfinnberg
Download Telegram
Real Python: Pandas Sort: Your Guide to Sorting Data in Python

Link: https://realpython.com/pandas-sort-python/

Learning pandas sort methods is a great way to start with or practice doing basic data analysis using Python. Most commonly, data analysis is done with spreadsheets, SQL, or pandas. One of the great t
Amjith Ramanujam: Rapid Prototyping in Python

Link: https://blog.amjith.com/rapid-prototyping-in-python

I was recently assigned to a new project at work. Like any good software engineer I started writing the pseudocode for the modules. We use C++ at work to write our programs.
I quickly realized it's no
Patrick Kennedy: Sessions in Flask

Link: http://www.patricksoftwareblog.com/sessions-in-flask/

I wrote a blog post on TestDriven.io about how Sessions work in Flask:
https://testdriven.io/blog/flask-sessions/
This blog post looks at how sessions work in Flask by covering the following topics:
W
Ben Cook: Linear interpolation in Python: An np.interp() example

Link: https://jbencook.com/numpy-interpolate/

It's easy to linearly interpolate a 1-dimensional set of points in Python using the np.interp() function from NumPy.
Andrew Dalke: Are 32-bit floats enough for your Tanimoto scores?

Link: http://www.dalkescientific.com/writings/diary/archive/2021/02/15/32_bit_floats_and_tanimotos.html


Chemfp uses 64-bit
IEEE 754 floating point (a.k.a. double or binary64,
or float64) to represent cheminformatics fingerprint
similarity scores.



Some fingerprint search systems instead use 32-bit
IE
Podcast.__init__: CrossHair: Your Automatic Pair Programmer

Link: https://www.pythonpodcast.com/crosshair-automated-bug-finder-episode-302/

One of the perennial challenges in software engineering is to reduce the opportunity for bugs to creep into the system. Some of the tools in our arsenal that help in this endeavor include rich type sy
Python Insider: Python 3.7.10 and 3.6.13 security updates now available

Link: http://feedproxy.google.com/~r/PythonInsider/~3/NfEAmX9_8yk/python-3710-and-3613-security-updates.html

 Python 3.7.10 and 3.6.13,  the lastest security fix rollups for Python 3.7 and Python 3.6, are now available. You can find the release files, links to the changelogs, and more information here:    ht
Mike Driscoll: Creating an Image Viewer with PySimpleGUI

Link: https://www.blog.pythonlibrary.org/2021/02/16/creating-an-image-viewer-with-pysimplegui/

PySimpleGUI makes creating applications easy. In this tutorial, you will learn how to use PySimpleGUI to create a simple Image Viewer. You will be using the regular version of PySimpleGUI, which wraps
Django Weblog: DjangoCon Europe 2021 Announcement

Link: https://www.djangoproject.com/weblog/2021/feb/16/djangocon-europe-2021-announcement/

This announcement retracts the previous announcement regarding the hybrid DjangoCon Europe 2021. Sadly, this year, we will not have the physical component, we are deeply sorry for our initial over-opt
Chris Moffitt: Efficiently Cleaning Text with Pandas

Link: https://pbpython.com/text-cleaning.html


Introduction
It’s no secret that data cleaning is a large portion of the data analysis process. When
using pandas, there are multiple techniques for cleaning text fields to prepare for
further analys
Stack Abuse: Python: Check if Variable is a Dictionary

Link: https://stackabuse.com/python-check-if-variable-is-a-dictionary/

Introduction
Variables act as a container to store data. A developer can use type hints when creating variables or passing arguments, however, that's an optional feature in Python, and many codebases,
PyCoder’s Weekly: Issue #460 (Feb. 16, 2021)

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

#460 – FEBRUARY 16, 2021 View in Browser » PEP 634: Structural Pattern Matching (match/case) A few links related to PEP 634, which will add structural pattern matching to Python via a new match/
Mike Driscoll: An Intro to Python’s Built-in Functions

Link: https://www.blog.pythonlibrary.org/2021/02/17/an-intro-to-pythons-built-in-functions/

Built-ins are a somewhat overlooked part of Python. You use them every day, but there are a number of them that get overlooked or just aren’t used to their full potential. This article won’t be coveri
Real Python: Functional Programming in Python: When and How to Use It

Link: https://realpython.com/python-functional-programming/

Functional programming is a programming paradigm in which the primary method of computation is evaluation of functions. In this tutorial, you’ll explore functional programming in Python.
Functional pr
John Ludhi/nbshare.io: How to Analyze the CSV data in Pandas

Link: https://wwww.nbshare.io/224599533/How-to-Analyze-the-CSV-data-in-Pandas/








How to Analyze the CSV data in Pandas








For this exercise, I am using College.csv data. The brief explantion of data is given below.





In [1]:


import pandas as pd







In [2]:


df
John Ludhi/nbshare.io: How to Analyze the CSV data in Pandas

Link: https://www.nbshare.io/224599533/How-to-Analyze-the-CSV-data-in-Pandas/








How to Analyze the CSV data in Pandas








For this exercise, I am using College.csv data. The brief explantion of data is given below.





In [1]:


import pandas as pd







In [2]:


df
Mike Driscoll: Pillow: Image Processing with Python Available for Pre-order

Link: https://www.blog.pythonlibrary.org/2021/02/17/pillow-image-processing-with-python-available-for-pre-order/

Pillow: Image Processing with Python is my latest book on Python. It is now available for pre-order. What that means is that you can purchase an early version of the book and get all the updates to it