Skip to content

hypothesis.extra.pandas.indexes - FutureWarning from pandas #4400

Closed
@bkmartinjr

Description

@bkmartinjr

Hypothesis version 6.131.15
Pandas version 2.2.3
Python 3.12

hypothesis.extra.pandas.indexes() generates a FutureWarning from Pandas:

/home/user/miniforge3/envs/testbuild/lib/python3.12/site-packages/hypothesis/extra/pandas/impl.py:641: FutureWarning: Series.__setitem__ treating keys as positions is deprecated. In a future version, integer keys will always be treated as labels (consistent with DataFrame behavior). To set a value by position, use ser.iloc[pos] = value

Metadata

Metadata

Assignees

No one assigned

    Labels

    interophow to play nicely with other packages

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions