-
Notifications
You must be signed in to change notification settings - Fork 6
Open
Description
From discourse merge this package with AxisArrayConversion. As you say we should probably merge the two packages.
So how about merge!(YAXArrayBase, AxisArrayConversion) and deprecating my package.
I think our packages have a bit different philosophy though. So here are some features/goals of AxisArrayConversion
and I would like to know whether you are open to supporting them here:
- Should be possible to convert from and to a
NamedTuple
yaxconvert(AxisArray, (axes=(x=1:2, y=1:3), values=randn(2,3))
yaxconvert(NamedTuple, some_array)- Package should provide helper functions to lift objects to axis array world. For instance say you have something like an axis array, but whose dimensions don't have names.
obj = (axes=(1:2, 1:3), values=reshape(1:6, 2, 3))
lift(obj) == (axes=(x1=1:2, x2=1:3), values=obj.values)- Package should provide helper functions, for writing axis array backend agnostic code
briochemc
Metadata
Metadata
Assignees
Labels
No labels