Expand description
Utilities for pretty printing RecordBatches and Arrays.
Note this module is not available unless feature = "prettyprint" is enabled.
Re-exportsยง
use arrow_array::Array;๐use arrow_array::ArrayRef;๐use arrow_array::RecordBatch;๐use arrow_schema::ArrowError;๐use arrow_schema::SchemaRef;๐use comfy_table::Cell;๐use comfy_table::LineStyle;๐use comfy_table::Table;๐use comfy_table::TableStyle;๐use comfy_table::presets::ASCII_FULL_CONDENSED;๐use std::fmt::Display;๐use crate::display::ArrayFormatter;๐use crate::display::FormatOptions;๐use crate::display::make_array_formatter;๐
Constantsยง
- TABLE_
STYLE ๐
Functionsยง
- create_
column ๐ - create_
table ๐ - Convert a series of record batches into a table
- pretty_
format_ batches - Create a visual representation of [
RecordBatch]es - pretty_
format_ batches_ with_ options - Create a visual representation of [
RecordBatch]es with formatting options. - pretty_
format_ batches_ with_ schema - Create a visual representation of [
RecordBatch]es with a provided schema. - pretty_
format_ columns - Create a visual representation of [
ArrayRef] - pretty_
format_ columns_ with_ options - Create a visual representation of [
ArrayRef] with formatting options. - print_
batches - Prints a visual representation of record batches to stdout
- print_
columns - Prints a visual representation of a list of column to stdout