Skip to content

Why use NamedTuple data type? #268

Answered by quinnj
HiramTheHero asked this question in Q&A
Discussion options

You must be logged in to vote

No worry about asking at all. A vector of NamedTuples or NamedTuple of vectors was chosen for two main reasons: 1) they're "builtin" to Julia, which means no additional dependency needed for Tables.jl, which aims to be a very foundational package and 2) they're meant to be simple table types to aid in testing or small, specific use-cases where they make sense. So definitely not meant as any kind of "full" table type or DataFrame, but also simple enough that they can be useful in certain workflows.

Hope that helps!

Replies: 2 comments 2 replies

Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
2 replies
@HiramTheHero
Comment options

@quinnj
Comment options

Answer selected by HiramTheHero
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
3 participants
Converted from issue

This discussion was converted from issue #267 on January 11, 2022 04:24.