Skip to content

Commit

Permalink
repartition to take multiple columns
Browse files Browse the repository at this point in the history
  • Loading branch information
sonalgoyal committed Jun 22, 2024
1 parent 4399f4a commit 673e63e
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -80,7 +80,7 @@ public interface ZFrame<D, R, C> {


public ZFrame<D, R, C> repartition(int num);
public ZFrame<D, R, C> repartition(int num, C c);
public ZFrame<D, R, C> repartition(int num, C... c);

public ZFrame<D, R, C> sample(boolean repartition, float num);
public ZFrame<D, R, C> sample(boolean repartition, double num);
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -215,7 +215,7 @@ public ZFrame<Dataset<Row>, Row, Column> repartition(int nul){
return new SparkFrame(df.repartition(nul));
}

public ZFrame<Dataset<Row>, Row, Column> repartition(int nul, Column c){
public ZFrame<Dataset<Row>, Row, Column> repartition(int nul, Column... c){
return new SparkFrame(df.repartition(nul, c));
}

Expand Down

0 comments on commit 673e63e

Please sign in to comment.