Skip to content

Backport PR #60795: TST(string dtype): Resolve xfails in pytables #60916

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

Conversation

rhshadrach
Copy link
Member

  • closes #xxxx (Replace xxxx with the GitHub issue number)
  • Tests added and passed if fixing a bug or adding a new feature
  • All code checks passed.
  • Added type annotations to new arguments/methods/functions.
  • Added an entry in the latest doc/source/whatsnew/vX.X.X.rst file if fixing a bug or adding a new feature.

JakeTT404 and others added 3 commits February 10, 2025 16:51
…edge case in HDFStore.append (pandas-dev#60829)

* Add clearer error messages for datatype mismatch in HDFStore.append. Raise ValueError when nan_rep too large for pytable column. Add and modify applicable test code.

* Fix missed tests and correct mistake in error message.

* Remove excess comments. Reverse error type change to avoid api changes. Move nan_rep tests into separate function.

(cherry picked from commit 57340ec)
@rhshadrach rhshadrach added this to the 2.3 milestone Feb 11, 2025
@rhshadrach rhshadrach added Testing pandas testing functions or related to the test suite IO HDF5 read_hdf, HDFStore Strings String extension data type and string data labels Feb 11, 2025
@mroeschke
Copy link
Member

@rhshadrach
Copy link
Member Author

Thanks! This test was removed in #57091, removing dtype=object should resolve.

@rhshadrach rhshadrach requested a review from mroeschke February 12, 2025 22:07
@jorisvandenbossche
Copy link
Member

The remaining failures for pandas/tests/apply/test_frame_apply.py::test_apply_raw_float_frame_lambda are numba-related

@mroeschke mroeschke merged commit 3143f44 into pandas-dev:2.3.x Feb 16, 2025
43 of 45 checks passed
@rhshadrach rhshadrach deleted the auto-backport-of-pr-60795-on-2.3.x branch February 16, 2025 17:44
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
IO HDF5 read_hdf, HDFStore Strings String extension data type and string data Testing pandas testing functions or related to the test suite
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants