mo.ui.dataframe
Display and interact with dataframes from pandas, polars, pyarrow, and more.Signature
Parameters
DataFrame
required
Pandas, Polars, PyArrow, or Ibis dataframe
Callable
Callback when dataframe is transformed
int
default:"5"
Rows per page
int
Maximum rows to display
bool
default:"True"
Show download button
dict
Custom column formatters
bool
Use lazy evaluation for large dataframes
Features
- Filter: Filter rows by column values
- Sort: Sort by one or more columns
- Search: Full-text search across all columns
- Select columns: Choose which columns to display
- Aggregate: Group by and aggregate data
- Download: Export as CSV, JSON, or Parquet
- Code generation: Generate Python code for transformations