Skip to content

Instantly share code, notes, and snippets.

@jdunkerley
jdunkerley / spark_pricePaid.py
Created December 20, 2016 08:18
Completed Spark Job Script In Python To Compute Statistics From Prices Paid Data
import math
import statistics
import copy
from pyspark import SparkConf, SparkContext
indexPostcode = 3
indexPrice = 1
indexDate = 2