SPARK-1438 removing redundant import of random in python rddsampler