Skip to content

PublicData.get_decimal_precisions fails for very small or large numerical values #442

@michael-t-alexander

Description

@michael-t-alexander

If the mode of a float type column is <= 1e-5 or >= 1e16, this line in get_decimal_precisions fails as the string representation of the mode uses scientific notation and doesn't contain a decimal point:

maxp = len(str(modes[0]).split('.')[1]) # maxp stores the maximum precision of the modes

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