Skip to content

Printing labels fails if not strings #65

@trevismd

Description

@trevismd

Subject of https://stackoverflow.com/questions/72102651/sequence-item-0-expected-str-instance-numpy-int64-found

To fix it, we could cast the struct label to string here.

labels_string = sep.join([struct["label"]
for struct in self.structs])

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