com.github.chen0040.data.frame.DataFrame Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of java-data-frame Show documentation
Show all versions of java-data-frame Show documentation
Some common patterns of data frame in Java
The newest version!
package com.github.chen0040.data.frame;
import com.github.chen0040.data.utils.TupleTwo;
import java.util.List;
import java.util.Map;
import java.util.function.Predicate;
import java.util.stream.Stream;
/**
* Created by xschen on 28/4/2017.
*/
public interface DataFrame extends Iterable {
int rowCount();
DataRow row(int i);
List getInputColumns();
List getOutputColumns();
List getAllColumns();
List rowArrayDescriptors();
void unlock();
boolean isLocked();
void lock();
DataRow newRow();
void addRow(DataRow row);
String head(int limit);
DataFrame shuffle();
TupleTwo split(double ratio);
Stream stream();
DataFrame makeCopy();
DataFrame filter(Predicate predicate);
Iterable extends DataRow> rows();
Map> getLevels();
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy