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

A DimArray{NamedTuple} should work like a NamedTuple Table #483

Open
rafaqz opened this issue Apr 14, 2023 · 0 comments · May be fixed by #839
Open

A DimArray{NamedTuple} should work like a NamedTuple Table #483

rafaqz opened this issue Apr 14, 2023 · 0 comments · May be fixed by #839
Labels

Comments

@rafaqz
Copy link
Owner

rafaqz commented Apr 14, 2023

A vector of NamedTuple is the most basic Table. Curretly DimensionalData.jl overrides this and makes a single column table of NamedTuple.

I think this is probably never what the user would want - we should let the default behaviour come through of using getproperty on the objects of a vector rather than having a single column name.

If propertynames == () then we can use the array name as the column name.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant