Skip to content

Issue tm #61349

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

Open
wants to merge 39 commits into
base: main
Choose a base branch
from
Open

Issue tm #61349

Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
39 commits
Select commit Hold shift + click to select a range
29039f9
Added requirements.txt with project dependencies
pelagiavlas Mar 26, 2025
65de448
ValueError in pytest parametrization due to direct Index object evalu…
pelagiavlas Apr 7, 2025
0816a26
BUG: Fix TypeError in set operations with mixed int/string indexes
pelagiavlas Apr 7, 2025
b87036f
BUG: Handle mixed int/str types in Index.union
pelagiavlas Apr 7, 2025
946f99b
BUG: Fix value_counts() with mixed int/str indexes containing nulls
pelagiavlas Apr 7, 2025
a671eb7
Merge branch 'main' of https://github.com/pandas-dev/pandas
xaris96 Apr 9, 2025
416a6ae
Merge branch 'main' of https://github.com/pandas-dev/pandas
xaris96 Apr 9, 2025
2e63667
BUG: Ignore mixed-type comparison warning in tests
pelagiavlas Apr 10, 2025
5550b1d
BUG: Apply xfail to handle unsupported int/str comparison in test_sor…
pelagiavlas Apr 10, 2025
33e2a34
BUG: Apply xfail to handle unsupported int/str comparison in test_sor…
pelagiavlas Apr 10, 2025
d7b534e
BUG: Mark test_numpy_ufuncs_reductions as xfail for mixed int/str index
pelagiavlas Apr 10, 2025
642734e
BUG: Avoid mixed-type Index in argsort test to prevent sorting errors
pelagiavlas Apr 14, 2025
dea15de
BUG: Skip argsort tests for mixed-type Index to avoid TypeError
pelagiavlas Apr 14, 2025
03c3b0a
TST: Add skip for tests using mixed-type Index
pelagiavlas Apr 14, 2025
5d1c154
one new test just for the mixed string in indices_dict (pandas\confet…
xaris96 Apr 21, 2025
c10c263
log files
xaris96 Apr 23, 2025
edb84e4
fixed test_union_duplicates[mixed-int-string] test fail in tests\inde…
xaris96 Apr 23, 2025
af140a8
2 test passed for mixed int string
xaris96 Apr 23, 2025
8992100
test_union_same_type mixed int string
xaris96 Apr 24, 2025
1fe92f9
test_union_different_types mixed int string fixed
xaris96 Apr 24, 2025
599df6d
test_union_base mixed int string test fail fixed
xaris96 Apr 24, 2025
3256953
total 5 tests fixed and 2 made xfailed
xaris96 Apr 24, 2025
bf05b29
Merge branch 'issue-TM' into vol2
xaris96 Apr 24, 2025
c856799
all tests passed!
xaris96 Apr 24, 2025
ed90c56
merged
xaris96 Apr 24, 2025
e3f1eb2
changes
xaris96 Apr 24, 2025
965edf8
Merge branch 'main' into issue-TM
pelagiavlas Apr 29, 2025
c42ac08
Fix pytest.xfail usage in test_sort_values_with_missing
pelagiavlas Apr 29, 2025
08f06b9
Fix pytest.xfail usage in test_sort_values_invalid_na_position
pelagiavlas Apr 29, 2025
1913ff8
Merge branch 'issue-TM' of https://github.com/xaris96/pandas into iss…
pelagiavlas Apr 29, 2025
8856592
Fix line length issue in test_numpy_compat.py
pelagiavlas Apr 29, 2025
e833869
Fix line length issue in test_numpy_compat.py
pelagiavlas Apr 29, 2025
5be6ef4
change comment
pelagiavlas Apr 29, 2025
7afd0d0
Fix line length issue in test_setops.py
pelagiavlas Apr 29, 2025
77d3069
Fix line length issue in test_setops.py
pelagiavlas Apr 29, 2025
218071c
Fix line length issue in test_algos.py
pelagiavlas Apr 29, 2025
62c3319
Fix long line issue and refactor xfail usage in test_sort_values_inva…
pelagiavlas Apr 29, 2025
b68dc54
Fix line length issue in tests
pelagiavlas Apr 29, 2025
e975853
Merge branch 'main' into issue-TM
pelagiavlas Apr 30, 2025
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
17 changes: 17 additions & 0 deletions AfterMixed.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1,17 @@

=========================== short test summary info ===========================
FAILED pandas/tests/indexes/multi/test_setops.py::test_difference_keep_ea_dtypes[Float32-val0]
FAILED pandas/tests/indexes/multi/test_setops.py::test_symmetric_difference_keeping_ea_dtype[Float32-val0]
FAILED pandas/tests/indexes/multi/test_setops.py::test_union_with_duplicates_keep_ea_dtype[Float32-dupe_val1]
FAILED pandas/tests/indexes/multi/test_setops.py::test_union_keep_ea_dtype_with_na[Float32]
FAILED pandas/tests/indexes/multi/test_setops.py::test_intersection_keep_ea_dtypes[Float32-val0]
FAILED pandas/tests/indexes/numeric/test_indexing.py::TestGetIndexer::test_get_loc_masked[Float32-4-val22]
FAILED pandas/tests/indexes/numeric/test_indexing.py::TestGetIndexer::test_get_loc_masked[Float32-val3-val23]
FAILED pandas/tests/indexes/numeric/test_indexing.py::TestGetIndexer::test_get_loc_masked_na[Float32]
FAILED pandas/tests/indexes/numeric/test_indexing.py::TestGetIndexer::test_get_indexer_masked_na[Float32-4]
FAILED pandas/tests/indexes/numeric/test_indexing.py::TestGetIndexer::test_get_indexer_masked_na[Float32-2]
FAILED pandas/tests/indexes/test_common.py::test_sort_values_with_missing[complex64-first]
FAILED pandas/tests/indexes/test_common.py::test_sort_values_with_missing[complex64-last]
FAILED pandas/tests/indexes/test_common.py::test_sort_values_with_missing[nullable_float-first]
FAILED pandas/tests/indexes/test_common.py::test_sort_values_with_missing[nullable_float-last]
==== 14 failed, 16452 passed, 221 skipped, 53 xfailed, 3 xpassed in 33.67s ====
28 changes: 28 additions & 0 deletions after.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1,28 @@
XFAILED pandas/tests/indexes/test_common.py::test_sort_values_invalid_na_position[mixed-int-string-None]
XFAILED pandas/tests/indexes/test_common.py::test_sort_values_invalid_na_position[mixed-int-string-middle]
XFAILED pandas/tests/indexes/test_common.py::test_sort_values_with_missing[mixed-int-string-first]
XFAILED pandas/tests/indexes/test_common.py::test_sort_values_with_missing[mixed-int-string-last]
FAILED pandas/tests/indexes/test_numpy_compat.py::test_numpy_ufuncs_reductions[mixed-int-string-maximum] - TypeError: '>=' not supported between instances of 'int' and 'str'
FAILED pandas/tests/indexes/test_numpy_compat.py::test_numpy_ufuncs_reductions[mixed-int-string-minimum] - TypeError: '<=' not supported between instances of 'int' and 'str'
DONE FAILED pandas/tests/indexes/test_old_base.py::TestBase::test_argsort[mixed-int-string] - TypeError: '<' not supported between instances of 'str' and 'int'
DONE FAILED pandas/tests/indexes/test_old_base.py::TestBase::test_numpy_argsort[mixed-int-string] - TypeError: '<' not supported between instances of 'str' and 'int'
DONE FAILED pandas/tests/indexes/test_setops.py::test_union_same_types[mixed-int-string] - TypeError: '<' not supported between instances of 'str' and 'int'
DONE FAILED pandas/tests/indexes/test_setops.py::test_union_different_types[mixed-int-string] - TypeError: '<' not supported between instances of 'str' and 'int'
DONE FAILED pandas/tests/indexes/test_setops.py::TestSetOps::test_union_base[mixed-int-string] - TypeError: '<' not supported between instances of 'str' and 'int'
FAILED pandas/tests/indexes/test_setops.py::TestSetOps::test_symmetric_difference[mixed-int-string] - TypeError: '<' not supported between instances of 'str' and 'int'
FAILED pandas/tests/indexes/test_setops.py::TestSetOps::test_union_unequal[mixed-int-string-A-A-A] - TypeError: '<' not supported between instances of 'str' and 'int'
FAILED pandas/tests/indexes/test_setops.py::TestSetOps::test_union_unequal[mixed-int-string-A-B-None] - TypeError: '<' not supported between instances of 'str' and 'int'
FAILED pandas/tests/indexes/test_setops.py::TestSetOps::test_union_unequal[mixed-int-string-A-None-None] - TypeError: '<' not supported between instances of 'str' and 'int'
FAILED pandas/tests/indexes/test_setops.py::TestSetOps::test_union_unequal[mixed-int-string-None-B-None] - TypeError: '<' not supported between instances of 'str' and 'int'
FAILED pandas/tests/indexes/test_setops.py::TestSetOps::test_union_unequal[mixed-int-string-None-None-None] - TypeError: '<' not supported between instances of 'str' and 'int'
FAILED pandas/tests/indexes/test_setops.py::TestSetOps::test_intersect_unequal[mixed-int-string-A-A-A] - TypeError: '<' not supported between instances of 'int' and 'str'
FAILED pandas/tests/indexes/test_setops.py::TestSetOps::test_intersect_unequal[mixed-int-string-A-B-None] - TypeError: '<' not supported between instances of 'int' and 'str'
FAILED pandas/tests/indexes/test_setops.py::TestSetOps::test_intersect_unequal[mixed-int-string-A-None-None] - TypeError: '<' not supported between instances of 'int' and 'str'
FAILED pandas/tests/indexes/test_setops.py::TestSetOps::test_intersect_unequal[mixed-int-string-None-B-None] - TypeError: '<' not supported between instances of 'int' and 'str'
FAILED pandas/tests/indexes/test_setops.py::TestSetOps::test_intersect_unequal[mixed-int-string-None-None-None] - TypeError: '<' not supported between instances of 'int' and 'str'





================================================ 32 failed, 16436 passed, 221 skipped, 51 xfailed, 3 xpassed in 37.47s ================================================
16 changes: 16 additions & 0 deletions before.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1,16 @@
FAILED pandas/tests/indexes/multi/test_setops.py::test_difference_keep_ea_dtypes[Float32-val0] - RuntimeWarning: invalid value encountered in cast
FAILED pandas/tests/indexes/multi/test_setops.py::test_symmetric_difference_keeping_ea_dtype[Float32-val0] - RuntimeWarning: invalid value encountered in cast
FAILED pandas/tests/indexes/multi/test_setops.py::test_union_with_duplicates_keep_ea_dtype[Float32-dupe_val1] - RuntimeWarning: invalid value encountered in cast
FAILED pandas/tests/indexes/multi/test_setops.py::test_union_keep_ea_dtype_with_na[Float32] - RuntimeWarning: invalid value encountered in cast
FAILED pandas/tests/indexes/multi/test_setops.py::test_intersection_keep_ea_dtypes[Float32-val0] - RuntimeWarning: invalid value encountered in cast
FAILED pandas/tests/indexes/numeric/test_indexing.py::TestGetIndexer::test_get_loc_masked[Float32-4-val22] - RuntimeWarning: invalid value encountered in cast
FAILED pandas/tests/indexes/numeric/test_indexing.py::TestGetIndexer::test_get_loc_masked[Float32-val3-val23] - RuntimeWarning: invalid value encountered in cast
FAILED pandas/tests/indexes/numeric/test_indexing.py::TestGetIndexer::test_get_loc_masked_na[Float32] - RuntimeWarning: invalid value encountered in cast
FAILED pandas/tests/indexes/numeric/test_indexing.py::TestGetIndexer::test_get_indexer_masked_na[Float32-4] - RuntimeWarning: invalid value encountered in cast
FAILED pandas/tests/indexes/numeric/test_indexing.py::TestGetIndexer::test_get_indexer_masked_na[Float32-2] - RuntimeWarning: invalid value encountered in cast
FAILED pandas/tests/indexes/test_common.py::test_sort_values_with_missing[complex64-first] - RuntimeWarning: invalid value encountered in cast
FAILED pandas/tests/indexes/test_common.py::test_sort_values_with_missing[complex64-last] - RuntimeWarning: invalid value encountered in cast
FAILED pandas/tests/indexes/test_common.py::test_sort_values_with_missing[nullable_float-first] - RuntimeWarning: invalid value encountered in cast
FAILED pandas/tests/indexes/test_common.py::test_sort_values_with_missing[nullable_float-last] - RuntimeWarning: invalid value encountered in cast


44 changes: 44 additions & 0 deletions fail_dif.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1,44 @@
Comparing files failed_before.txt and FAILED_AFTER.TXT
***** failed_before.txt
FAILED pandas/tests/indexes/multi/test_setops.py::test_union_with_duplicates_keep_ea_dtype[Float32-dupe_val1]
FAILED pandas/tests/indexes/multi/test_setops.py::test_union_keep_ea_dtype_with_na[Float32]
***** FAILED_AFTER.TXT
FAILED pandas/tests/indexes/multi/test_setops.py::test_union_with_duplicates_keep_ea_dtype[Float32-dupe_val1]
FAILED pandas/tests/indexes/multi/test_setops.py::test_union_duplicates[mixed-int-string]
FAILED pandas/tests/indexes/multi/test_setops.py::test_union_keep_ea_dtype_with_na[Float32]
*****

***** failed_before.txt
FAILED pandas/tests/indexes/numeric/test_indexing.py::TestGetIndexer::test_get_indexer_masked_na[Float32-2]
FAILED pandas/tests/indexes/test_common.py::test_sort_values_with_missing[complex64-first]
***** FAILED_AFTER.TXT
FAILED pandas/tests/indexes/numeric/test_indexing.py::TestGetIndexer::test_get_indexer_masked_na[Float32-2]
FAILED pandas/tests/indexes/test_common.py::test_sort_values_invalid_na_position[mixed-int-string-None]
FAILED pandas/tests/indexes/test_common.py::test_sort_values_invalid_na_position[mixed-int-string-middle]
FAILED pandas/tests/indexes/test_common.py::test_sort_values_with_missing[complex64-first]
*****

***** failed_before.txt
***** FAILED_AFTER.TXT
FAILED pandas/tests/indexes/test_common.py::test_sort_values_with_missing[mixed-int-string-first]
FAILED pandas/tests/indexes/test_common.py::test_sort_values_with_missing[mixed-int-string-last]
FAILED pandas/tests/indexes/test_numpy_compat.py::test_numpy_ufuncs_reductions[mixed-int-string-maximum]
FAILED pandas/tests/indexes/test_numpy_compat.py::test_numpy_ufuncs_reductions[mixed-int-string-minimum]
FAILED pandas/tests/indexes/test_old_base.py::TestBase::test_argsort[mixed-int-string]
FAILED pandas/tests/indexes/test_old_base.py::TestBase::test_numpy_argsort[mixed-int-string]
FAILED pandas/tests/indexes/test_setops.py::test_union_same_types[mixed-int-string]
FAILED pandas/tests/indexes/test_setops.py::test_union_different_types[mixed-int-string]
FAILED pandas/tests/indexes/test_setops.py::TestSetOps::test_union_base[mixed-int-string]
FAILED pandas/tests/indexes/test_setops.py::TestSetOps::test_symmetric_difference[mixed-int-string]
FAILED pandas/tests/indexes/test_setops.py::TestSetOps::test_union_unequal[mixed-int-string-A-A-A]
FAILED pandas/tests/indexes/test_setops.py::TestSetOps::test_union_unequal[mixed-int-string-A-B-None]
FAILED pandas/tests/indexes/test_setops.py::TestSetOps::test_union_unequal[mixed-int-string-A-None-None]
FAILED pandas/tests/indexes/test_setops.py::TestSetOps::test_union_unequal[mixed-int-string-None-B-None]
FAILED pandas/tests/indexes/test_setops.py::TestSetOps::test_union_unequal[mixed-int-string-None-None-None]
FAILED pandas/tests/indexes/test_setops.py::TestSetOps::test_intersect_unequal[mixed-int-string-A-A-A]
FAILED pandas/tests/indexes/test_setops.py::TestSetOps::test_intersect_unequal[mixed-int-string-A-B-None]
FAILED pandas/tests/indexes/test_setops.py::TestSetOps::test_intersect_unequal[mixed-int-string-A-None-None]
FAILED pandas/tests/indexes/test_setops.py::TestSetOps::test_intersect_unequal[mixed-int-string-None-B-None]
FAILED pandas/tests/indexes/test_setops.py::TestSetOps::test_intersect_unequal[mixed-int-string-None-None-None]
*****

23 changes: 23 additions & 0 deletions failed_after.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1,23 @@
FAILED pandas/tests/indexes/test_common.py::test_sort_values_invalid_na_position[mixed-int-string-None] xfail
FAILED pandas/tests/indexes/test_common.py::test_sort_values_invalid_na_position[mixed-int-string-middle] xfail
FAILED pandas/tests/indexes/test_common.py::test_sort_values_with_missing[mixed-int-string-first]
FAILED pandas/tests/indexes/test_common.py::test_sort_values_with_missing[mixed-int-string-last]
FAILED pandas/tests/indexes/test_numpy_compat.py::test_numpy_ufuncs_reductions[mixed-int-string-maximum]
FAILED pandas/tests/indexes/test_numpy_compat.py::test_numpy_ufuncs_reductions[mixed-int-string-minimum]
FAILED pandas/tests/indexes/test_old_base.py::TestBase::test_argsort[mixed-int-string]
FAILED pandas/tests/indexes/test_old_base.py::TestBase::test_numpy_argsort[mixed-int-string]
FAILED pandas/tests/indexes/test_setops.py::test_union_same_types[mixed-int-string]
FAILED pandas/tests/indexes/test_setops.py::test_union_different_types[mixed-int-string]
FAILED pandas/tests/indexes/test_setops.py::TestSetOps::test_union_base[mixed-int-string]
FAILED pandas/tests/indexes/test_setops.py::TestSetOps::test_symmetric_difference[mixed-int-string]
FAILED pandas/tests/indexes/test_setops.py::TestSetOps::test_union_unequal[mixed-int-string-A-A-A]
FAILED pandas/tests/indexes/test_setops.py::TestSetOps::test_union_unequal[mixed-int-string-A-B-None]
FAILED pandas/tests/indexes/test_setops.py::TestSetOps::test_union_unequal[mixed-int-string-A-None-None]
FAILED pandas/tests/indexes/test_setops.py::TestSetOps::test_union_unequal[mixed-int-string-None-B-None]
FAILED pandas/tests/indexes/test_setops.py::TestSetOps::test_union_unequal[mixed-int-string-None-None-None]
FAILED pandas/tests/indexes/test_setops.py::TestSetOps::test_intersect_unequal[mixed-int-string-A-A-A]
FAILED pandas/tests/indexes/test_setops.py::TestSetOps::test_intersect_unequal[mixed-int-string-A-B-None]
FAILED pandas/tests/indexes/test_setops.py::TestSetOps::test_intersect_unequal[mixed-int-string-A-None-None]
FAILED pandas/tests/indexes/test_setops.py::TestSetOps::test_intersect_unequal[mixed-int-string-None-B-None]
FAILED pandas/tests/indexes/test_setops.py::TestSetOps::test_intersect_unequal[mixed-int-string-None-None-None]
= 37 failed, 16435 passed, 221 skipped, 47 xfailed, 3 xpassed in 73.59s (0:01:13) =
Loading
Loading