Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Introduce ArrayTable based on Dictionaries.jl #66

Draft
wants to merge 1 commit into
base: main
Choose a base branch
from

Conversation

andyferris
Copy link
Member

This a more DataFrame-like table, where the containers for the columns (or rows) is a Dictionaries.jl AbstractDictionary{Symbol, AbstractArray}.

In the context of future developments:

  • It should be possible to define a "static dictionary" kind of thing, like static arrays, where the column names are tracked and typed. This however would be dealt with in Dictionaries.jl not here
  • It should be possible to introduce a DictionaryTable where the rows are indexed by some dictionary key, and the columns are dictionaries that share the same keys & tokens. I find I almost always want to be able to look up rows based on some value! (Note - the column indices are an AbstractIndices <: AbstractDictionary and can just be one of the columns... or we could have multiple primary keys, grouped/partitioned tables, etc...).

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.

1 participant