NestedFrame#
Constructor#
|
A Pandas Dataframe extension with support for nested structure. |
Helpful Properties#
retrieves the base column names for all nested dataframes |
|
Returns the list of base (non-nested) column names |
|
returns a dictionary of columns for each base/nested dataframe |
Nesting#
|
Packs input object to a nested column and adds it to the NestedFrame |
|
Creates a new NestedFrame where the specified list-value columns are packed into a nested column. |
|
Creates a NestedFrame with base and nested columns from a flat dataframe. |
|
Creates a NestedFrame with base and nested columns from a flat dataframe. |
Extended Pandas.DataFrame Interface#
Note
The NestedFrame extends the Pandas.DataFrame interface, so all methods of Pandas.DataFrame are available. The following methods are a mix of newly added methods and extended methods from Pandas DataFrame to support NestedFrame functionality. Please reference the Pandas documentation for more information. https://pandas.pydata.org/docs/reference/frame.html
|
Returns a set of all subcolumn names from a set of nested columns, including dot notation |
|
Evaluate a string describing operations on NestedFrame columns. |
|
Query the columns of a NestedFrame with a boolean expression. |
|
Remove missing values for one layer of the NestedFrame. |
|
Sort by the values along either axis. |
|
Takes a function and applies it to each top-level row of the NestedFrame. |
|
Drop specified labels from rows or columns. |
|
Return the minimum value of each column as a series, including nested columns with prefix to indicate the source column. |
|
Return the maximum value of each column as a series, including nested columns with prefix to indicate the source column. |
|
Generate descriptive statistics, including nested columns with prefix to indicate the source. |
|
Transform each element of a list-like base column to a row, replicating index values. |
|
Fill NA/NaN values using the specified method for base and nested columns. |
I/O#
|
Creates parquet file(s) with the data of a NestedFrame, either as a single parquet file where each nested dataset is packed into its own column or as an individual parquet file for each layer. |
|
Convert to an ordinal pandas DataFrame, with no NestedDtype series. |
|
Load a parquet object from a file path into a NestedFrame. |
|
Load a pyarrow Table object into a NestedFrame. |