Skip to content

Instantly share code, notes, and snippets.

View sampathweb's full-sized avatar

Ramesh Sampath sampathweb

  • San Francisco, CA
View GitHub Profile
@sampathweb
sampathweb / .block
Created August 9, 2016 22:37
US State Map
license: gpl-3.0
@sampathweb
sampathweb / .block
Created August 8, 2016 21:53
Threshold Choropleth
license: gpl-3.0
@sampathweb
sampathweb / .block
Created August 7, 2016 23:37
Anscombe Quartet II
license: gpl-3.0
@sampathweb
sampathweb / canonical_restaurant_names.py
Created July 22, 2016 16:21 — forked from pjbull/canonical_restaurant_names.py
Boston restaurants to canonical name and address
import re
import sys
import unicodedata
import pandas as pd
def clean_string(s):
if isinstance(s, unicode):
s = unicodedata.normalize('NFKD', s).encode('ascii', 'ignore')
@sampathweb
sampathweb / jupyter_notebook_config.py
Created July 22, 2016 15:57 — forked from pjbull/jupyter_notebook_config.py
Create .py and .html on save of Jupyter notebook
import os
import shutil
from nbconvert.nbconvertapp import NbConvertApp
from nbconvert.postprocessors.base import PostProcessorBase
class CopyToSubfolderPostProcessor(PostProcessorBase):
def __init__(self, subfolder=None):
self.subfolder = subfolder
@sampathweb
sampathweb / .block
Created June 24, 2016 21:01
Focus+Context via Brushing
license: gpl-3.0
license: gpl-3.0
@sampathweb
sampathweb / README.md
Last active May 20, 2016 03:29
FiveThirtyEight - Police Killings
@sampathweb
sampathweb / README.md
Last active May 20, 2016 03:20
The Migrant Files: Money
@sampathweb
sampathweb / README.md
Last active May 19, 2016 04:31
Median Income from 2009 to 2012
@sampathweb
sampathweb / .block
Created May 17, 2016 22:26
Bar Chart I
license: gpl-3.0