Skip to content

Sav export not setting correct format for floats #1341

@AndersFreund

Description

@AndersFreund

get_savwriter_float_format is not always calculating the correct length of the int part of a float.

This happens because Series.max doesn't return the numeric max when applied on a series with dtype=object.

w_int = len(str(df['int'].max()))

Metadata

Metadata

Assignees

Labels

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions