Skip to content

REGR: repr of stringified floats (e.g. "3.50") drop ending "0" #38708

Closed
@topper-123

Description

@topper-123

Example:

>>> ser = pd.Series(["3.50"])
>>> ser
0    3.5  # wrong repr, should show 3.50
dtype: object
>>> ser[0]
'3.50'  # this is ok

Metadata

Metadata

Assignees

No one assigned

    Labels

    BugOutput-Formatting__repr__ of pandas objects, to_stringRegressionFunctionality that used to work in a prior pandas version

    Type

    No type

    Projects

    No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions