Skip to content

attributes are not saved #272

@OfekShilon

Description

@OfekShilon

Including row.names:

df <- data.frame(a=1:3,b=4:6)
rownames(df) <- c("row1","row2","row3")
df
#      a b
# row1 1 4
# row2 2 5
# row3 3 6
fst::write_fst(df,"~/tmp/df")
df2 <- fst::read_fst("~/tmp/df")
df2
#   a b
# 1 1 4
# 2 2 5
# 3 3 6

and class:

df <- data.table(a=1:3,b=4:6)
# [1] "data.table" "data.frame"
fst::write_fst(df,"~/tmp/df")
df2 <- fst::read_fst("~/tmp/df")
class(df2)
# [1] "data.frame"

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions