pantable.io module

pantable.io.dump_csv(data: np.ndarray[np.str_], options: PanTableOption) str[source]

dump data as CSV string

pantable.io.dump_csv_io(data: np.ndarray[np.str_], options: PanTableOption) str[source]

dump data as CSV

it will mutate options.include if it is an invalid write path.

pantable.io.load_csv(data: str, options: PanTableOption) List[List[str]][source]

loading CSV table

Note that this can emit EmptyTableError, FileNotFoundError

pantable.io.load_csv_array(data: str, options: PanTableOption) np.ndarray[np.str_][source]

loading CSV table in numpy.ndarray

Note that this can emit EmptyTableError, FileNotFoundError