Skip to content

Instantly share code, notes, and snippets.

// Code for Michael Malak's Spark Summit 2016 presentation
// "Finding Graph Isomorphisms in GraphX and GraphFrames
// Additional code can be downloaded from
// https://www.manning.com/books/spark-graphx-in-action
// * readRdf() for GraphX
// * EXAMPLE: Missing <exports> for Canada (using GraphX SVD++)
// * EXAMPLE: Missing <influences> for well-known philosophers (using GraphFrames)
// Shell command to launch Spark Shell with GraphFrames jar
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
@michaelmalak
michaelmalak / BarometerDownload
Last active August 29, 2015 14:00
Automated download of barometer data into IPython Notebook
{
"metadata": {
"name": "",
"signature": "sha256:d53411c6867a1ab9eaf600b142942f9a026b9c7218cb905e56750bad84f915ad"
},
"nbformat": 3,
"nbformat_minor": 0,
"worksheets": [
{
"cells": [
@michaelmalak
michaelmalak / Cardinality.ipynb
Created February 9, 2014 00:45
CardinalityAlgorithms
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
@michaelmalak
michaelmalak / BarChartOverprinting.ipynb
Created August 20, 2013 23:04
Solving x axis overprinting on Pandas/Matplotlib bar charts
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
@michaelmalak
michaelmalak / ipyD3.py
Last active December 19, 2015 23:28 — forked from z-m-k/LICENSE
Modifications for Mac compatibility. There is a small chance it still works on Windows -- have not tested.
from __future__ import division
import numpy
import shlex
from uuid import uuid1
class d3object:
def __init__(self,
height=100,
width=100,
topHtml='',
bottomHtml='',