Uh oh!
There was an error while loading. Please reload this page.
GH-35490: [Python] Interchange protocol: update tests for string and large_string - #35504
Conversation
jorisvandenbossche
left a comment
There was a problem hiding this comment.
Do we still want to test normal string for older pandas? (because now the test combines both, and so doesn't test it for older versions?)
AlenkaF
commented
May 9, 2023
Oh yes, of course! Will correct 👍 |
Uh oh!
There was an error while loading. Please reload this page.
AlenkaF
commented
May 10, 2023
@github-actions crossbow submit test-conda-python--pandas- |
Revision: 0179e1c56a3d5c931728bb2fdf7ac3189af01fec Submitted crossbow builds: ursacomputing/crossbow @ actions-d113313268
|
0179e1c to
5f05027CompareAlenkaF
commented
May 10, 2023
@github-actions crossbow submit test-conda-python--pandas- |
Revision: 5f05027 Submitted crossbow builds: ursacomputing/crossbow @ actions-6f1dfae313
|
jorisvandenbossche
commented
May 11, 2023
Nightly failure is unrelated (but something else we should fix) |
AlenkaF
commented
May 11, 2023
I think this failure is connected to #34789? |
jorisvandenbossche
commented
May 11, 2023
Yes, indeed, I am looking at that |
The diff is a bit confusing so I will add some notes here: - `test_categorical_roundtrip` is not removed but renamed to `test_pandas_roundtrip_categorical` so that all tests checking `pyarrow` -> `pandas` -> `pyarrow` start with `test_pandas_roundtip_*` - the skip for the `test_pandas_roundtrip_categorical` is removed - `test_pandas_to_pyarrow_categorical_with_missing` is removed as the conversion for categorical with missing values is now checked in `test_pandas_roundtrip_categorical` - `test_roundtrip_pandas_boolean` is removed and the check for boolean has been added to `test_pandas_roundtrip` - `test_pandas_assertion_error_large_string` and `test_pandas_to_pyarrow_string_with_missing` are removed as the update for these is done separately in #35504 * Closes: #35264 Authored-by: Alenka Frim <frim.alenka@gmail.com> Signed-off-by: Joris Van den Bossche <jorisvandenbossche@gmail.com>
ursabot
commented
May 11, 2023
Benchmark runs are scheduled for baseline = 11780b9 and contender = dec4453. dec4453 is a master commit associated with this PR. Results will be available as each benchmark for each run completes. |
ursabot
commented
May 11, 2023
['Python', 'R'] benchmarks have high level of regressions. |
…g and large_string (apache#35504) ### Rationale for this change In pandas version 2.0.1 the interchange protocol implementation has support for large strings. The tests on our side need to be updated accordingly. ### What changes are included in this PR? Changes in tests: - `test_pandas_assertion_error_large_string` removed - `test_roundtrip_pandas_string ` updated * Closes: apache#35490 Authored-by: Alenka Frim <frim.alenka@gmail.com> Signed-off-by: Joris Van den Bossche <jorisvandenbossche@gmail.com>
…35530) The diff is a bit confusing so I will add some notes here: - `test_categorical_roundtrip` is not removed but renamed to `test_pandas_roundtrip_categorical` so that all tests checking `pyarrow` -> `pandas` -> `pyarrow` start with `test_pandas_roundtip_*` - the skip for the `test_pandas_roundtrip_categorical` is removed - `test_pandas_to_pyarrow_categorical_with_missing` is removed as the conversion for categorical with missing values is now checked in `test_pandas_roundtrip_categorical` - `test_roundtrip_pandas_boolean` is removed and the check for boolean has been added to `test_pandas_roundtrip` - `test_pandas_assertion_error_large_string` and `test_pandas_to_pyarrow_string_with_missing` are removed as the update for these is done separately in apache#35504 * Closes: apache#35264 Authored-by: Alenka Frim <frim.alenka@gmail.com> Signed-off-by: Joris Van den Bossche <jorisvandenbossche@gmail.com>
Rationale for this change
In pandas version 2.0.1 the interchange protocol implementation has support for large strings. The tests on our side need to be updated accordingly.
What changes are included in this PR?
Changes in tests:
test_pandas_assertion_error_large_stringremovedtest_roundtrip_pandas_stringupdated