pub fn datatable_to_content_node(
dt: &DataTable,
max_rows: Option<usize>,
) -> ContentNodeExpand description
Convert a DataTable (Arrow RecordBatch wrapper) to a ContentNode::Table.
Extracts column names as headers, determines column types from the Arrow schema, and converts each cell to a plain text ContentNode. Optionally limits the number of rows displayed.