Index
All Classes and Interfaces|All Packages
A
- addColumn(String, List<Object>) - Method in class com.fahmatrix.DataFrame
-
Add column to the end of data table
C
- com.fahmatrix - package com.fahmatrix
- count() - Method in class com.fahmatrix.Series
-
Returns count of non-null values
D
- DataFrame - Class in com.fahmatrix
-
DataFrame is the basic object for hadling data
Current Features:
Select/Add column data
Print in System Console
Print data Summary
Import From CSV/TSV, xlsx, Ods, JSON
Export To CSV/TSV, xlsx, Ods, JSON
Reverse (transpose) data
Select Row/Column by Label or Position
Filter By String Opertions (contains, equal, equal ignore case, start with , end with, regex , not empty, custom String Predicate) - DataFrame() - Constructor for class com.fahmatrix.DataFrame
-
Constructor with empty indexes and columns
- DataFrame(List<String>) - Constructor for class com.fahmatrix.DataFrame
-
Constructor with known indexes and empty columns
- DataFrame(List<String>, Map<String, List<Object>>) - Constructor for class com.fahmatrix.DataFrame
-
Constructor with known indexes and columns
- describe() - Method in class com.fahmatrix.DataFrame
-
Pretty Print Data Summary in System Console
F
- filterByStringPredicate(String, Predicate<String>) - Method in class com.fahmatrix.DataFrame
-
Filters rows based on a custom string predicate
- filterContains(String, String) - Method in class com.fahmatrix.DataFrame
-
Filters rows where the specified column contains the given substring
- filterEndsWith(String, String) - Method in class com.fahmatrix.DataFrame
-
Filter rows where the specified column ends with the given suffix
- filterEquals(String, String) - Method in class com.fahmatrix.DataFrame
-
Filters rows where the specified column equals the given value (case-sensitive)
- filterEqualsIgnoreCase(String, String) - Method in class com.fahmatrix.DataFrame
-
Filters rows where the specified column equals the given value (case-insensitive)
- filterNotEmpty(String) - Method in class com.fahmatrix.DataFrame
-
Filter rows where the specified column is not null and not empty
- filterRegex(String, String) - Method in class com.fahmatrix.DataFrame
-
Filter rows where the specified column matches the given regex pattern
- filterStartsWith(String, String) - Method in class com.fahmatrix.DataFrame
-
Filter rows where the specified column starts with the given prefix
- forEachParallel(Consumer<Object>) - Method in class com.fahmatrix.Series
-
Thread-safe value processing using Consumer action (works with Number types)
G
- get(int) - Method in class com.fahmatrix.Series
-
Get certain cell data
- get(String) - Method in class com.fahmatrix.Series
-
Get certain cell data by index name
Note: the index value is different than the column name
- getByLabel(String, String) - Method in class com.fahmatrix.DataFrame
-
Select Cell by row and column name
- getByLabels(String[], String[]) - Method in class com.fahmatrix.DataFrame
-
Select certains rows and columns by name
these names are not Excel A1,B1 names. - getByPosition(int, int) - Method in class com.fahmatrix.DataFrame
-
Select Cell by row and column positions
- getByPositions(int[], int[]) - Method in class com.fahmatrix.DataFrame
-
Select certains rows and columns by position
- getColumn(String) - Method in class com.fahmatrix.DataFrame
-
return a new Series Object with data of only one column
- getColumnsByLabel(String...) - Method in class com.fahmatrix.DataFrame
-
Select Columns by name
this method assumes you selected all rows - getColumnsByPosition(int...) - Method in class com.fahmatrix.DataFrame
-
Select certains columns position
- getRowsByLabel(String...) - Method in class com.fahmatrix.DataFrame
-
Select Rows by name
this method assumes you selected all columns - getRowsByPosition(int...) - Method in class com.fahmatrix.DataFrame
-
Select certains rows position
H
- head() - Method in class com.fahmatrix.DataFrame
-
Return the first 5 rows as DataFrame Object
- head(int) - Method in class com.fahmatrix.DataFrame
-
Return the first n rows as DataFrame Object
M
- max() - Method in class com.fahmatrix.Series
-
Returns maximum value (works with Number types)
- mean() - Method in class com.fahmatrix.Series
-
Average of values (works with Number types)
- median() - Method in class com.fahmatrix.Series
-
Median of values (works with Number types)
- min() - Method in class com.fahmatrix.Series
-
Returns minimum value (works with Number types)
P
- percentile(double) - Method in class com.fahmatrix.Series
-
Calculate percentile for certain value (works with Number types)
- percentiles() - Method in class com.fahmatrix.Series
-
Calculate percentiles (25%, 50%, 75% by default)
- percentiles(double[]) - Method in class com.fahmatrix.Series
-
Calculate custom percentiles using parallel processing (works with Number types)
- print() - Method in class com.fahmatrix.DataFrame
-
Pretty Print in System Console
- print() - Method in class com.fahmatrix.Series
-
Pretty Print in System Console
- processInParallel(DoubleUnaryOperator) - Method in class com.fahmatrix.Series
-
Parallel value processing with custom function (works with Number types)
Q
- quantile25() - Method in class com.fahmatrix.Series
-
Calculate percentile 25% (works with Number types)
- quantile50() - Method in class com.fahmatrix.Series
-
Calculate percentile 50% -aka median- (works with Number types)
- quantile75() - Method in class com.fahmatrix.Series
-
Calculate percentile 75% (works with Number types)
R
- readCSV(String) - Method in class com.fahmatrix.DataFrame
-
Read , Parse and save the CSV file
Make sure the file is found before calling. - readJson(String) - Method in class com.fahmatrix.DataFrame
-
Read , Parse and save the JSON file
Make sure the file is found before calling. - readOds(String) - Method in class com.fahmatrix.DataFrame
-
Read , Parse and save ODS (OpenDocument Spreadsheet) file
Make sure the file is found before calling. - readXlsx(String) - Method in class com.fahmatrix.DataFrame
-
Read , Parse and save the Microsoft Excel SpreadSheet xlsx file
Make sure the file is found before calling.
S
- select() - Method in class com.fahmatrix.DataFrame
-
Select using builder pattern
use like that example
select().rows(new int[]{1,2,3}).columns(new int[]{1,2,3}).get()
or
select().rows(new String[]{"row1","row2","row3"}).columns(new String[]{"column1","column2","column3"}).get() - Series - Class in com.fahmatrix
-
Series is the basic object for one column
Current Features:
Select single cell data
Print in System Console - Series(List<Object>, List<String>) - Constructor for class com.fahmatrix.Series
-
Constructor
- stdDev() - Method in class com.fahmatrix.Series
-
Standard deviation of values (works with Number types)
- sum() - Method in class com.fahmatrix.Series
-
Sum of values (works with Number types)
T
- tail() - Method in class com.fahmatrix.DataFrame
-
Return the last 5 rows as DataFrame Object
- tail(int) - Method in class com.fahmatrix.DataFrame
-
Return the last n rows as DataFrame Object
- transpose() - Method in class com.fahmatrix.DataFrame
-
Reverse Rows and Columns
W
- writeCSV(String) - Method in class com.fahmatrix.DataFrame
-
Exports data to a csv file
It useds default delimiter "," and hasQoutes is set to true - writeCSV(String, char, boolean) - Method in class com.fahmatrix.DataFrame
-
Exports data to a csv file
- writeJson(String) - Method in class com.fahmatrix.DataFrame
-
Exports data to a JSON txt file
- writeOds(String) - Method in class com.fahmatrix.DataFrame
-
Exports data to an ODS (OpenDocument Spreadsheet) file
The data is in the default sheet with name "sheet1" - writeXlsx(String) - Method in class com.fahmatrix.DataFrame
-
Exports data to a Microsoft Excel SpreadSheet xlsx file
The data is in the default sheet with name "sheet1"
All Classes and Interfaces|All Packages