Is there a way to edit task$data()
or replace it with a new data.frame()
with exactly the same colnames?
I've tried the following task_train$data() <- newDF
and task_train$data <- newDF
. They both result in Error in task_train$data() <- di : invalid (NULL) left side of assignment
and Error in task_train$data <- newDF: cannot change value of locked binding for 'data'
, respectively.