JuliaArrays / AxisArrays.jl

Performant arrays where each dimension can have a named axis with values
http://JuliaArrays.github.io/AxisArrays.jl/latest/
Other
200 stars 41 forks source link

Implement squeeze for multiple axes #125

Open iamed2 opened 6 years ago

iamed2 commented 6 years ago

We can't restrict the type accepted to Tuple{Vararg{Type{<:Axis}}} because typeof((Axis{:time}, Axis{:label})) == Tuple{UnionAll, UnionAll} but we might be able to assume they are axis types when they're not Base.Dims.

This would be especially useful after https://github.com/JuliaLang/julia/pull/23500