All Downloads are FREE. Search and download functionalities are using the official Maven repository.

com.github.chen0040.data.frame.DataFrame Maven / Gradle / Ivy

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 rows();

   Map> getLevels();
}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy