python

730 bookmarks · page 14 of 15
2020-02-19 · kdnuggets.com

Python String Processing Primer

Try this string processing primer cheatsheet to gain an understanding of using Python to manipulate and process strings at a basic level.

2019-12-14 · kdnuggets.com

5 Advanced Features of Pandas and How to Use Them

The pandas library offers core functionality when preparing your data using Python. But, many don't go beyond the basics, so learn about these lesser-known advanced methods that will make handling your data easier and cleaner.

2019-11-24 · bnikolic.co.uk

Counting FLOPS and other CPU counters in Python

On the Linux command line it is fairly easy to use the perf command to measure number of floating point operations (or other performance metrics). (See for example this old blog post ) with this approach it is not easy to get a fine grained view of how different stages of…

2019-10-09 · morepypy.blogspot.com

PyPy's New JSON Parser

Introduction In the last year or two I have worked on and off on making PyPy's JSON faster, particularly when parsing large JSON files. I...

2019-08-29 · link.medium.com

Python at Netflix

By Pythonistas at Netflix, coordinated by Amjith Ramanujam and edited by Ellen Livengood

2019-08-23 · mlwhiz.com

Make your own Super Pandas using Multiproc

This post is a part of my series on Python Shorts. Some tips on how to use python. This post is about using the computing power we have at hand and applying it to the data structure we use most.

2019-07-13 · kdnuggets.com

10 Simple Hacks to Speed up Your Data Analysis in Python

This article lists some curated tips for working with Python and Jupyter Notebooks, covering topics such as easily profiling data, formatting code and output, debugging, and more. Hopefully you can find something useful within.

2019-05-21 · shop.oreilly.com

Cython

Build software that combines Python’s expressivity with the performance and control of C (and C++). It’s possible with Cython, the compiler and hybrid programming language used by foundational packages such … - Selection from Cython [Book]

2019-02-12 · machinelearningmastery.com

15 Statistical Hypothesis Tests in Python (Cheat Sheet)

Quick-reference guide to the 17 statistical hypothesis tests that you need in applied machine learning, with sample code in Python. Although there are hundreds of statistical hypothesis tests that you could use, there is only a small subset that you may need to use in a machine…

2019-01-08 · treyhunner.com

Why you should be using pathlib

When I discovered Python’s new pathlib module a few years ago, I initially wrote it off as being a slightly more awkward and unnecessarily …

2018-09-06 · medium.freecodecamp.org

An A-Z of useful Python tricks

By Peter Gleeson Python is one of the world’s most popular, in-demand programming languages. This is for many reasons: it’s easy to learn it’s super versatile it has a huge range of modules and libraries I use Python daily as an integral part of my...

2018-08-31 · eigenfoo.xyz

Cookbook — Bayesian Modelling with PyMC3

Recently I’ve started using PyMC3 for Bayesian modelling, and it’s an amazing piece of software! The API only exposes as much of heavy machinery of MCMC as you need — by which I mean, just the pm.sample() method (a.k.a., as Thomas Wiecki puts it, the Magic Inference Button™)…