Skip to content

TypeError: Object of type EngNumber is not JSON serializable when passing EngNumber to pandas dataframe #18

@jj-github-jj

Description

@jj-github-jj

Not sure if this is fundamental limitation that is easy to fix or not but get this error when trying to use EngNumber with pandas dataframe constructors. Workaround I have is to use float(eng_number_variable) with modules that dont work natively with EngNumber datatype so still really like engineering_notation module. Thanks for the useful module.

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