Skip to content

drop_na() is removing attributes from columns #905

@xtimbeau

Description

@xtimbeau

drop_na() does not keep attributes of columns as shown below. I think it should.
thanks

ttbl <- tibble(col1 = c(1,2, NA, 2))
attr(ttbl$col1, "attr")<- "A value"
ttbl$col1
drop_na(ttbl)$col1

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions