I hereby claim:
- I am jbcrail on github.
- I am jbcrail (https://keybase.io/jbcrail) on keybase.
- I have a public key whose fingerprint is 87A5 63FE 6852 8A5F 7C2F D584 7973 F166 B1B4 E12D
To claim this, I am signing this object:
I hereby claim:
To claim this, I am signing this object:
import hashlib | |
import os | |
import sys | |
from os.path import join, getsize | |
def sha1(path): | |
m = hashlib.sha1() | |
with open(path, "r") as f: |
from __future__ import print_function | |
class App(object): | |
def __init__(self, a='', b=0, c=False): | |
print(" ", a, b, c) | |
class Foo(App): | |
def __init__(self): | |
super(Foo, self).__init__(a='bar', b=80, c=True) |
import dask | |
import dask.dataframe as dd | |
import numpy as np | |
import numba | |
import time | |
@numba.njit | |
def calc_hist(X, Y, xrange, yrange, out, w, h): | |
x0, x1 = xrange |
import numpy as np | |
import pandas as pd | |
from collections import OrderedDict | |
from bokeh.models import ColumnDataSource, GridPlot, HoverTool | |
from bokeh.palettes import RdYlGn9 | |
from bokeh.plotting import Figure, hplot, vplot, output_file, show | |
def generate_dataset(name, size): | |
""" |
// Linux/OS X: gcc -g -std=gnu99 -Wall -Werror -o bench_initialize bench_initialize.c -lrt | |
// | |
// Generate test data using `dd if=/dev/urandom bs=$N count=1 >output` for $N bytes | |
#include <assert.h> | |
#include <fcntl.h> | |
#include <inttypes.h> | |
#include <stdint.h> | |
#include <stdio.h> | |
#include <stdlib.h> |
-- A basic GDSII reader that reads from standard input and writes serialized | |
-- text to standard output | |
local gdsii = {} | |
gdsii.types = { | |
[0] = "HEADER", | |
[1] = "BGNLIB", | |
[2] = "LIBNAME", | |
[3] = "UNITS", |
Forked from tjdecke’s block #5558084.
Example data shows Louisville crimes between 2012 and 2014.