Skip to content

Serialize to something else than string #2

@NiklasPhabian

Description

@NiklasPhabian

When we want to load a STAREDataFrame into a geopackage, we have to serialize the stare covers, for now, we can do:

sdf['sids_serialized'] = sdf.apply(lambda row : str(list(row['sids'])), axis = 1)

Then load this DF into SQLite, and then call encode_stareblob(). Would be much nicer if we could get the data in through another serialization.

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