davidavdav / NamedArrays.jl

Julia type that implements a drop-in replacement of Array with named dimensions
Other
120 stars 20 forks source link

Support filter!() #105

Closed matteounimib closed 3 years ago

matteounimib commented 3 years ago

Could NamedArray support filter!() ?

e = NamedArray([1,2,3],(["a","b","c"])) filter!(x -> x>2, e) ERROR: MethodError: no method matching deleteat! (::NamedArray{Int64,1,Array{Int64,1},Tuple{OrderedCollections.OrderedDict{String,Int64}}}, ::UnitRange{Int64})