tabiew 0.16.0

A lightweight TUI application to view and query tabular data files, such as CSV, TSV, and parquet.
1
2
3
4
5
6
7
8
9
10
use polars::frame::DataFrame;

use crate::{AppResult, readers::ReaderSource};

pub type NamedFrame = (String, DataFrame);
pub type NamedFrames = Box<[NamedFrame]>;

pub trait DataFrameReader {
    fn read_to_data_frames(&self, source: ReaderSource) -> AppResult<NamedFrames>;
}