-
Notifications
You must be signed in to change notification settings - Fork 4
Open
Description
hi @TysonStanley related to #39 I was wondering if you plan to implement the names_transform argument? e.g.
> tidyr::pivot_longer(data.table("1"=10, "2"=20), 1:2, names_to="int", names_transform=list(int=as.integer))
# A tibble: 2 x 2
int value
<int> <dbl>
1 1 10
2 2 20
> print(tidyfast::dt_pivot_longer(data.table("1"=10, "2"=20), 1:2, names_to="int", names_transform=list(int=as.integer)), class=TRUE)
int value
<char> <num>
1: 1 10
2: 2 20
> Code above shows that tidyr converts int column to integer but tidyfast does not (names_transform argument is ignored).
Metadata
Metadata
Assignees
Labels
No labels