/// <summary> /// Returns a new DataFrame that has exactly `numPartitions` partitions. /// </summary> // Python API: https://github.com/apache/spark/blob/branch-1.4/python/pyspark/sql/dataframe.py repartition(self, numPartitions) public DataFrame Repartition(int numPartitions) { return(new DataFrame(dataFrameProxy.Repartition(numPartitions), sparkContext)); }