Skip to content

TestBaseCasting.test_to_numpy fails for ExtensionArrays that yield nested numpy arrays #30841

Closed
@xhochy

Description

@xhochy

The test case fails when data is e.g. np.array([np.array([np.nan, None], dtype="object"), None], dtype="object").

def test_to_numpy(self, data):
        expected = np.asarray(data)

        result = data.to_numpy()
>       self.assert_equal(result, expected)

This happens in fletcher for the list<item: string> type.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions