Skip to content

printoptions "suppression" of scientific method is not doing anything for large numbers? #11547

@G778

Description

@G778

The documentation reads:

If True, always print floating point numbers using fixed point notation, in which case numbers equal to zero in the current precision will print as zero. If False, then scientific notation is used when absolute value of the smallest number is < 1e-4 or the ratio of the maximum absolute value to the minimum is > 1e3. The default is False.

But in actual use, when setting suppression for arrays with large enough numbers in them, it just stops working for some reason. This should work on all arrays with any size numbers, period, as promised.

I don't see any downsides to this, other than icky formatting if numbers scroll over to the next line, but this is "protecting people from themselves" and not helpful, especially when there's no such thing as a "no, like, really though, actually suppress..." flag I can set at the same time, or similar.

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions