Navigation Menu

Skip to content

Instantly share code, notes, and snippets.

@jiffyclub
jiffyclub / github_api_commits.ipynb
Created February 26, 2014 18:53
Examples of using github3.py to make git commits via the GitHub API.
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
{
"metadata": {
"name": ""
},
"nbformat": 3,
"nbformat_minor": 0,
"worksheets": [
{
"cells": [
{
@jiffyclub
jiffyclub / github_api_commit.ipynb
Created April 16, 2014 05:05
An example of using the GitHub API to make several changes to a repo in a single new commit.
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
@jiffyclub
jiffyclub / statsmodels_comparison.ipynb
Created May 7, 2014 18:33
Comparison of performance using statsmodels.formula.api and statsmodels.api.
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
@jiffyclub
jiffyclub / concat_indexes.ipynb
Created May 8, 2014 21:49
Comparison of two ways of concatenating pandas Index objects.
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
@jiffyclub
jiffyclub / patsycolumns.py
Created July 17, 2014 04:14
columns_in_formula function that parses all of the column names from a patsy formula.
from StringIO import StringIO
from tokenize import generate_tokens, NAME
import patsy
def _tokens_from_patsy(node):
"""
Yields all the individual tokens from within a patsy formula
as parsed by patsy.parse_formula.parse_formula.
@jiffyclub
jiffyclub / reindex.ipynb
Created August 19, 2014 19:05
Using indexing vs. merging to broadcast and reindex a pandas Series. Setting up two tables and doing a pandas merge can often be faster.
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
@jiffyclub
jiffyclub / gist:3880f656cc82543d2dc6
Created October 21, 2014 23:13
Bug in Series.update in Pandas 0.14.1. (Apparently fixed in most recent development version.)
In [68]: s1 = pd.Series(range(1, 11))
In [69]: s2 = pd.Series({0: 11.111111,
....: 2: 33.333333,
....: 4: 55.555556,
....: 1: 66.666667,
....: 3: 133.333333,
....: 5: 200.000000,
....: 7: 266.666667,
....: 9: 333.333333})

TL;DR: SmugMug seems like the best combination of price, storage, and features.

Note: I'm only considering high storage options

SmugMug

Price: $40 / year
Storage: unlimited
Web: A
Mobile: B

Keybase proof

I hereby claim:

  • I am jiffyclub on github.
  • I am jiffyclub (https://keybase.io/jiffyclub) on keybase.
  • I have a public key whose fingerprint is 7D8E 1620 1696 A492 8E03 8750 44EF 755F 53CA A45A

To claim this, I am signing this object: