Skip to content

DIS: Should the keyword use_nullable_dtypes use nullable dtypes in the absence of nulls #42973

Closed
@lithomas1

Description

@lithomas1

Currently the keyword use_nullable_dtypes(only implemented for read_parquet now) will use nullable dtypes for columns even when that column does not have nulls.

Should this behavior change?

xref discussion #40687 (comment) #42588 (comment)
#42588 (comment)

(Note that always using nullable dtypes always(the current behavior) is a choice made on our end https://github.com/pandas-dev/pandas/blob/master/pandas/io/parquet.py#L215-L227 not by the pyarrow engine)

cc @pandas-dev/pandas-core

Metadata

Metadata

Assignees

No one assigned

    Labels

    Closing CandidateMay be closeable, needs more eyeballsIO DataIO issues that don't fit into a more specific labelNA - MaskedArraysRelated to pd.NA and nullable extension arraysNeeds DiscussionRequires discussion from core team before further action

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions