Skip to content

Instantly share code, notes, and snippets.

@akarve
akarve / code_samples.md
Created November 1, 2019 02:04 — forked from armandmcqueen/code_samples.md
[WIP] New API usecases and associated code samples

Quilt Package Usecases

Introduction

This document outlines several key use cases and proposes code samples to satisfy those usecases. Both usecases and code samples are open to discussion.

The document is about UX, not implementation. It does not go much into performance needs, but the expectation is that the implementation will be written such that any API we expose is as high-performance as possible.

API names are rough and will need to be improved.

@akarve
akarve / Anscombe's Quartet
Last active October 28, 2016 05:21 — forked from ebressert/Anscombe's Quartet
updated for python 3 and immediate display
import seaborn as sns
from scipy.optimize import curve_fit
# Function for linear fit
def func(x, a, b):
return a + b * x
# Seaborn conveniently provides the data for
# Anscombe's quartet.
df = sns.load_dataset("anscombe")