SPARK-1170 Added histogram(buckets) to pyspark and not histogram(noOfBuckets).