Use cases for Filter may be agnostic to whether the data allows missing values, and therefore they will pass the dims kwarg.
For example:
using Impute
function my_apply(data::AbstractArray, f::Filter; dims)
# data may or may not allow/have missing values
Impute.apply(data, f; dims=dims)
end
If data does not allow missing, the apply will dispatch to the table method and throw a MethodError.
To get the appropriate method, we therefore need to add kwargs... to it.
Use cases for
Filter
may be agnostic to whether the data allows missing values, and therefore they will pass thedims
kwarg.For example:
If
data
does not allow missing, theapply
will dispatch to the table method and throw aMethodError
.To get the appropriate method, we therefore need to add
kwargs...
to it.