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
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
functionmy_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.
The text was updated successfully, but these errors were encountered:
bencottier
changed the title
Allow dims arg to filter() when there are no missings
Allow dims arg to Filter apply when there are no missings
Mar 26, 2021
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.The text was updated successfully, but these errors were encountered: