You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
but these all give MethodErrors -- I instead need to use AxisArrays.axisnames(A) and AxisArrays.axisname(A.axes[1]) (and there is no AxisArrays.axisnames(A.axes)).
The precedent for extending Base.names comes from DataFrames.jl e.g.
So rather than names we'd use propertynames I suppose. (Side note: I'm not sure why Base even has the distinction between names and propertynames, given that access to module bindings goes through getproperty. Might be an oversight.)
I had expected
names
to work i.e.but these all give MethodErrors -- I instead need to use
AxisArrays.axisnames(A)
andAxisArrays.axisname(A.axes[1])
(and there is noAxisArrays.axisnames(A.axes)
).The precedent for extending
Base.names
comes from DataFrames.jl e.g.The text was updated successfully, but these errors were encountered: