This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
""" | |
spark-submit pyraptor.py -p "./" -o temp_BYS.csv -a BYS -c sg | |
""" | |
import string | |
from math import sqrt | |
from optparse import OptionParser | |
from operator import itemgetter | |
from pyspark import SparkConf, SparkContext |