8000 drop the length from `numpy`'s fixed-width string dtypes by keewis · Pull Request #9586 · pydata/xarray · GitHub
[go: up one dir, main page]

Skip to content

drop the length from numpy's fixed-width string dtypes #9586

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 8 commits into from
Oct 24, 2024
Merged
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Next Next commit
check that the length of fixed-width numpy strings is reset
  • Loading branch information
keewis committed Oct 6, 2024
commit 1a0e56feb5b9c85c5b48d0da9233ef688e41c388
1 change: 1 addition & 0 deletions xarray/tests/test_dtypes.py
Original file line number Diff line number Diff line change
Expand Up @@ -28,6 +28,7 @@ class DummyArrayAPINamespace:
([np.str_, np.int64], np.object_),
([np.str_, np.str_], np.str_),
([np.bytes_, np.str_], np.object_),
([np.dtype("<U2"), np.str_], np.dtype("U")),
],
)
def test_result_type(args, expected) -> None:
Expand Down
0