Recently Updated Pages
Idioms and words
everything but the kitchen sink through thick and thin stowaway joust scrape the bottom of the ba...
Pandas Part V: Data Loading, Storage, and File Formats
Reading and Writing Data in Text Format Function Description read_csv csv read_clipboard...
matplotlib Part III: seaborn
seaborn import numpy as np import pandas as pd import matplotlib as mpl import matplotlib.pyplot ...
Some bash commands I find useful
find . -type f -name "*.nfo" -o "*.edl" -delete find . -type f -name "*.nof" -o "*.edl" -exec mv...
matplotlib Cheat Sheet
figure class matplotlib.figure.Figure(figsize=None, dpi=None, *, facecolor=None, ...
numpy Cheat Sheet
random random.randn np.random.randn(d0, d1, ... , dn) randn returns a sample (or samples) from t...
pandas Cheat Sheet
pandas concat pandas.concat(objs, *, axis=0, join='outer', ignore_index=False, keys=None, levels=...
matplotlib Part I: Basics
Manipulating matplotlib import matplotlib as mpl mpl.rcParams['lines.linewidth'] = 3 mpl.rcParams...
matplotlib Part II: Bar Charts and Scatter Charts
Bar Charts labels = ['Physics', 'Chemistry', 'Literature', 'Peace'] foo_data = [3, 6, 10, 4] bar...
Cleaning Data with pandas
Reading Data df = pd.read_json('data/nobel_winners_dirty.json') df.info() <class 'pandas.core.fra...