Skip to content

DataFrame.iloc does not raise for setitem if empty #32896

Closed
@SaturnFromTitan

Description

@SaturnFromTitan

This is a follow-up on #32886 (comment)

test_setitem_ndarray_3d in pandas/tests/indexing/test_indexing.py isn't raising for empty index, iloc and DataFrame parametrization.

The mentioned PR added a new xfail test for this combination: test_setitem_ndarray_3d_does_not_fail_for_iloc_empty_dataframe. The goal of this PR is to remove the xfail test and remove the associated pytest.skip in test_setitem_ndarray_3d.

Metadata

Metadata

Assignees

No one assigned

    Labels

    BugIndexingRelated to indexing on series/frames, not to indexes themselvesRegressionFunctionality that used to work in a prior pandas version

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions