org.datavec.dataframe.reducing.functions.Count Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of datavec-dataframe Show documentation
Show all versions of datavec-dataframe Show documentation
High-performance Java Dataframe with integrated columnar storage (fork of tablesaw)
package org.datavec.dataframe.reducing.functions;
import org.datavec.dataframe.api.Table;
import org.datavec.dataframe.reducing.NumericReduceFunction;
import org.datavec.dataframe.reducing.NumericReduceUtils;
/**
*
*/
public class Count extends SummaryFunction {
public Count(Table original, String summarizedColumnName) {
super(original, summarizedColumnName);
}
@Override
public NumericReduceFunction function() {
return NumericReduceUtils.n;
}
}