Skip to content

[ENH] deep_equals support for nested np.ndarray#314

Merged
fkiraly merged 4 commits into
mainfrom
deep_equals-np-nested
Apr 16, 2024
Merged

[ENH] deep_equals support for nested np.ndarray#314
fkiraly merged 4 commits into
mainfrom
deep_equals-np-nested

Conversation

@fkiraly
Copy link
Copy Markdown
Contributor

@fkiraly fkiraly commented Apr 15, 2024

This PR adds support for nested np.ndarray in deep_equals.

Recursion is introduced if the dtype is object.

An example for this data type occurring are shapelets in pyts or tslearn, see sktime/sktime#6296

@fkiraly fkiraly added the enhancement Adding new functionality label Apr 15, 2024
Comment thread skbase/utils/deep_equals/_deep_equals.py Fixed
@fkiraly fkiraly merged commit bd1cbf3 into main Apr 16, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

enhancement Adding new functionality

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants