Skip to content

Support creating Table from arbitrary types#269

Open
GregPlowman wants to merge 1 commit intoFedeClaudi:masterfrom
GregPlowman:GregPlowman-patch-3
Open

Support creating Table from arbitrary types#269
GregPlowman wants to merge 1 commit intoFedeClaudi:masterfrom
GregPlowman:GregPlowman-patch-3

Conversation

@GregPlowman
Copy link
Copy Markdown

Allow creating Term.Table from arbitrary types that support the Tables.jl interface.

Specifically, a Table is constructed if istable(T) returns true, otherwise an ArgumentError is thrown.
The column names of the object make up the table header if none is assigned.

Fixes #239

Allow creating Term.Table from arbitrary types that support the Tables.jl interface.
@t-bltg
Copy link
Copy Markdown
Collaborator

t-bltg commented Jan 2, 2026

Thanks ! This PR needs a test in order to get merged.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Request: support DataFrame directly with Table

2 participants