TidierOrg / Tidier.jl

Meta-package for data analysis in Julia, modeled after the R tidyverse.
MIT License
515 stars 14 forks source link

Implement `dplyr::drop_na()` using `DataFrames.dropmissing` #78

Closed christophscheuch closed 1 year ago

christophscheuch commented 1 year ago

Probably a low hanging fruit: so I frequently use dplyr::drop_na() in R and it seems to me that DataFrames.dropmissing does exactly the same thing in Julia. Low prio, but would be convenient to have this tidyverse verb in Tidier.jl as well :)

kdpsingh commented 1 year ago

Agree we should add this! Keep the ideas coming for new macros/functions. If you can point to an existing function in Julia (like in your example here), even better.

kdpsingh commented 1 year ago

Since DataFrames.dropmissing() supports an optional cols argument, we should be able to support the dplyr behavior of optionally providing columns to drop_na().

kdpsingh commented 1 year ago

Fixed in #82. Thanks again for the suggestion.