matplotlib

Matplotlib Subplots: Best Practices and Examples

20 Apr 2020   Examples on how to plot multiple plots on the same figure using Matplotlib and the interactive interface, pyplot. Includes common use cases and best practices.

Read More ›

text-processing unix

Dealing with Newline Issues on Text Files: Examples and Reference

09 Apr 2020   How to work with problems in newline encodings in text files:

Read More ›

jupyter

Jupyter Notebook Extensions: Examples and Reference

03 Apr 2020   Examples and reference on how to install and configure additional extensions for jupyter notebooks.

Read More ›

numpy

Numpy Display Options: Examples and Reference

24 Mar 2020   Number formatting, array visualization and other options to visualize numpy elements, being especially useful for working in Jupyter notebooks.

Read More ›

pandas

Pandas Display Options: Examples and Reference

24 Mar 2020   Variety of examples on how to set display options on Pandas, to control things like the number of rows, columns, number formatting, etc. Especially useful for working in Jupyter notebooks.

Read More ›

pandas

Pandas Dataframes: CSV Quoting and Escaping Strategies

24 Mar 2020   Reading and writing pandas dataframes to CSV files in a way that's safe and avoiding problems due to quoting, escaping and encoding issues.

Read More ›

paper-summary machine-learning-engineering technical-debt

Paper Summary: Hidden Technical Debt in Machine Learning Systems

23 Mar 2020   Summary of the 2015 article "Hidden Technical Debt in Machine Learning Systems" by Sculley et al.

Read More ›

pandas scikit-learn

Scikit-learn Pipelines: Custom Transformers and Pandas integration

08 Mar 2020   Examples and reference on how to write customer transformers and how to create a single sklearn pipeline including both preprocessing steps and classifiers at the end, in a way that enables you to use pandas dataframes directly in a call to fit.

Read More ›

numpy statistics

Numpy Sampling: Reference and Examples

07 Mar 2020   Sample from probability distributions and from lists, with and without weights. Examples using Python, Numpy and Scipy.

Read More ›

spark scala

Spark dataframe Examples: Reading and Writing Dataframes

23 Feb 2020   Some examples on how to read and write spark dataframes from sources such as S3 and databricks file systems.

Read More ›