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
library(tidyverse)
library(tsibble)
tsibble(
a= parse_date('1/1/24', format='%m/%d/%y'),
b=1,
)
#> Using `a` as index variable.#> # A tsibble: 1 x 2 [?]#> a b#> <date> <dbl>#> 1 2024-01-01 1
After select(-a):
tsibble(
a= parse_date('1/1/24', format='%m/%d/%y'),
b=1,
) |>
select(-a)
#> Using `a` as index variable.#> # A tsibble: 1 x 2 [?]#> b a #> <dbl> <date> #> 1 1 2024-01-01
Before:
After
select(-a)
:Created on 2024-03-18 with reprex v2.0.2
(See discussion at Behavior of select when trying to remove the index from a tsibble.)
The text was updated successfully, but these errors were encountered: