Skip to content

pyarrow uses is_sparse(), which is deprecated in development code, causing warnings on I/O routines with pandas #52899

Closed
@Dr-Irv

Description

@Dr-Irv

See tests from pandas-stubs: https://github.com/pandas-dev/pandas-stubs/actions/runs/4789491663/jobs/8517432719

to_feather(), to_orc() and to_parquet() call pyarrow, which is using api.is_sparse(), which is now marked as deprecated.

Created pandas-stubs issue:
pandas-dev/pandas-stubs#657

Comment here by @mroeschke in #52642 (comment) indicates it is reasonable for pyarrow to change their code - checking if we have created an issue there, and whether we should do something about the warning that a user would see if using those methods from pandas.

@jbrockmendel

Metadata

Metadata

Assignees

No one assigned

    Labels

    Arrowpyarrow functionalityDeprecateFunctionality to remove in pandasNeeds DiscussionRequires discussion from core team before further action

    Type

    No type

    Projects

    No projects

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions