Details
-
Improvement
-
Status: Open
-
Minor
-
Resolution: Unresolved
-
7.0.0
-
None
Description
Currently, $columns method returns columns as a list without names. It would be nice if they were named instead, similar to as.list on a data.frame.
> library(arrow) > names(record_batch(x = 1, y = 'a')$columns) NULL > names(arrow_table(x = 1, y = 'a')$columns) NULL > as.list(data.frame(x = 1, y = 'a')) $x [1] 1 $y [1] "a"