Package com.cupoftea.table
Class Loc
java.lang.Object
com.cupoftea.table.Loc
- All Implemented Interfaces:
Serializable
Label/Index-based indexer for selection (similar to pandas loc).
Requires an index column to be designated via CupOfTea.setIndex(String).
- See Also:
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionReturns the cell value for the given index key and column name.Alias forrow(Object).Alias forcell(Object, String).Returns theRowmatching the specified index key.Returns a new DataFrame containing rows whose index value matches any of the specified keys.
-
Constructor Details
-
Loc
-
-
Method Details
-
row
Returns theRowmatching the specified index key. -
get
Alias forrow(Object). -
cell
Returns the cell value for the given index key and column name. -
get
Alias forcell(Object, String). -
rows
Returns a new DataFrame containing rows whose index value matches any of the specified keys.
-