Frame methods#
LiteFrame is a performance-dedicated tabular data object with no index semantics.
Column names are flat strings, single-column selection returns a LiteFrame (not a
Series), and all operations are column-based with no implicit label alignment.
Arrow dtypes are used throughout so that nullable integer columns are preserved
rather than promoted to float. Results are lazy — call .execute() to materialize.
Constructor#
|
A performance-dedicated, lazy, distributed tabular data object with no index semantics. |
|
Create a LiteFrame from a local pandas DataFrame or similar object. |
|
Create a LiteFrame from a MaxFrame tensor. |
Attributes and underlying data#
Axes
Return the column labels of the LiteFrame. |
Return the dtype of each column. |
|
Return the number of dimensions of the LiteFrame. |
|
Return the LiteFrame as a tensor. |
Conversion#
|
Cast a LiteFrame to a specified dtype. |
|
Convert the LiteFrame to a pandas DataFrame. |
|
Convert the LiteFrame to a MaxFrame tensor. |
Indexing, iteration#
|
Evaluate a string describing operations on LiteFrame columns. |
|
Query the columns of a LiteFrame with a boolean expression. |
|
Return the first |
Binary operator functions#
|
Element-wise addition of |
|
Element-wise subtraction ( |
|
Element-wise multiplication ( |
|
Element-wise true division ( |
|
Element-wise floor division ( |
|
Element-wise modulo ( |
|
Element-wise exponentiation ( |
|
Reverse element-wise addition ( |
|
Reverse element-wise subtraction ( |
|
Reverse element-wise multiplication ( |
|
Reverse element-wise true division ( |
|
Reverse element-wise floor division ( |
|
Reverse element-wise modulo ( |
|
Reverse element-wise exponentiation ( |
|
Element-wise left bit shift ( |
|
Element-wise right bit shift ( |
|
Reverse element-wise left bit shift ( |
|
Reverse element-wise right bit shift ( |
|
Element-wise less-than comparison. |
|
Element-wise greater-than comparison. |
|
Element-wise less-than-or-equal comparison. |
|
Element-wise greater-than-or-equal comparison. |
|
Element-wise not-equal comparison. |
|
Element-wise equality comparison. |
Function application, GroupBy & window#
|
Apply |
|
Apply func per execution chunk. |
|
Provide expanding window calculations. |
|
Apply |
|
Group the LiteFrame by one or more columns. |
|
Apply func element-wise to every value in the LiteFrame. |
|
Provide rolling-window calculations. |
|
Transform per column (axis=0, default) or per row (axis=1). |
|
Apply func per execution block (chunk). |
Computations / descriptive stats#
|
Aggregate using one or more operations over columns. |
|
Return whether all elements in each column are truthy. |
|
Return boolean LiteFrame indicating whether each value is between left and right. |
|
Replace values where conditions are True, evaluated in order. |
|
Replace values where cond is True with other. |
|
Replace values where cond is False with other. |
|
Return whether any element in each column is truthy. |
|
Trim values at input threshold(s). |
|
Return the count of non-null values in each column. |
|
Cumulative max of column values, preserving row order. |
|
Cumulative min of column values, preserving row order. |
|
Cumulative prod of column values, preserving row order. |
|
Cumulative sum of column values, preserving row order. |
|
Compute |
|
Return the unbiased kurtosis of each column. |
|
Return the maximum of each column. |
|
Return the mean of each column. |
|
Return the median of each column. |
|
Return the minimum of each column. |
|
Return the number of distinct values in each column. |
|
Compute |
|
Return the product of each column. |
|
Element-wise rounding to |
|
Return the standard error of the mean of each column. |
|
Return the total number of rows. |
|
Return the unbiased skewness of each column. |
|
Return the sample standard deviation of each column. |
|
Return the sum of each column. |
|
Return the unbiased variance of each column. |
Reindexing / selection / label manipulation#
|
Prefix all column labels with prefix. |
|
Suffix all column labels with suffix. |
|
Add new columns to LiteFrame. |
|
Drop columns from LiteFrame. |
|
Return LiteFrame with duplicate rows removed. |
|
Return boolean mask marking duplicate rows. |
|
Rename columns in LiteFrame. |
|
Dispatch to select or select_expr based on argument types. |
Missing data handling#
|
Drop rows or columns with missing values. |
|
Fill missing values. |
Detect missing values. |
|
Detect missing values. |
|
Detect non-missing values. |
|
Detect non-missing values. |
|
|
Replace values in the LiteFrame. |
Reshaping, sorting#
|
Explode list column(s) into multiple rows. |
|
Make data more balanced across entire cluster. |
|
Rechunk LiteFrame data. |
|
Sort the LiteFrame by the specified columns. |
Combining / joining / merging#
|
Merge LiteFrame with another LiteFrame using a database-style join. |