Skip to content

de / serialization of a CartesianIndex #589

@yakir12

Description

@yakir12

I expected to be able to round-trip the serialization of a CartesianIndex:

julia> df = DataFrame(a = 1, b = CartesianIndex(1,1))
1×2 DataFrame
 Row │ a      b                    
     │ Int64  Cartesia            
─────┼─────────────────────────────
   11  CartesianIndex(1, 1)

julia> Arrow.write("table.arrow", df)
"table.arrow"

julia> df = DataFrame(Arrow.Table("table.arrow"))
1×2 DataFrame
 Row │ a      b             
     │ Int64  NamedTup     
─────┼──────────────────────
   11  (I = (1, 1),)

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions