Skip to content

Refactor format_array in pandas\io\formats\format.py #26837

Open
@simonjayhawkins

Description

@simonjayhawkins

see #26833 (comment)

to make format_array more generic we need to push more functionality to the objects to be formatted themselves (and PandasArray) rather than encoding the conversions and special casing in format_array.

Metadata

Metadata

Assignees

No one assigned

    Labels

    EnhancementExtensionArrayExtending pandas with custom dtypes or arrays.Output-Formatting__repr__ of pandas objects, to_stringRefactorInternal refactoring of code

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions