Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

TST: Testing for mixed int/str Index#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 ourterms of service andprivacy statement. We’ll occasionally send you account related emails.

Already on GitHub?Sign in to your account

Closed
xaris96 wants to merge83 commits intopandas-dev:mainfromxaris96:issue-TM
Closed
Changes from1 commit
Commits
Show all changes
83 commits
Select commitHold shift + click to select a range
29039f9
Added requirements.txt with project dependencies
pelagiavlasMar 26, 2025
65de448
ValueError in pytest parametrization due to direct Index object evalu…
pelagiavlasApr 7, 2025
0816a26
BUG: Fix TypeError in set operations with mixed int/string indexes
pelagiavlasApr 7, 2025
b87036f
BUG: Handle mixed int/str types in Index.union
pelagiavlasApr 7, 2025
946f99b
BUG: Fix value_counts() with mixed int/str indexes containing nulls
pelagiavlasApr 7, 2025
a671eb7
Merge branch 'main' of https://github.com/pandas-dev/pandas
xaris96Apr 9, 2025
416a6ae
Merge branch 'main' of https://github.com/pandas-dev/pandas
xaris96Apr 9, 2025
2e63667
BUG: Ignore mixed-type comparison warning in tests
pelagiavlasApr 10, 2025
5550b1d
BUG: Apply xfail to handle unsupported int/str comparison in test_sor…
pelagiavlasApr 10, 2025
33e2a34
BUG: Apply xfail to handle unsupported int/str comparison in test_sor…
pelagiavlasApr 10, 2025
d7b534e
BUG: Mark test_numpy_ufuncs_reductions as xfail for mixed int/str index
pelagiavlasApr 10, 2025
642734e
BUG: Avoid mixed-type Index in argsort test to prevent sorting errors
pelagiavlasApr 14, 2025
dea15de
BUG: Skip argsort tests for mixed-type Index to avoid TypeError
pelagiavlasApr 14, 2025
03c3b0a
TST: Add skip for tests using mixed-type Index
pelagiavlasApr 14, 2025
5d1c154
one new test just for the mixed string in indices_dict (pandas\confet…
xaris96Apr 21, 2025
c10c263
log files
xaris96Apr 23, 2025
edb84e4
fixed test_union_duplicates[mixed-int-string] test fail in tests\inde…
xaris96Apr 23, 2025
af140a8
2 test passed for mixed int string
xaris96Apr 23, 2025
8992100
test_union_same_type mixed int string
xaris96Apr 24, 2025
1fe92f9
test_union_different_types mixed int string fixed
xaris96Apr 24, 2025
599df6d
test_union_base mixed int string test fail fixed
xaris96Apr 24, 2025
3256953
total 5 tests fixed and 2 made xfailed
xaris96Apr 24, 2025
bf05b29
Merge branch 'issue-TM' into vol2
xaris96Apr 24, 2025
c856799
all tests passed!
xaris96Apr 24, 2025
ed90c56
merged
xaris96Apr 24, 2025
e3f1eb2
changes
xaris96Apr 24, 2025
a784a90
log files deleted
xaris96May 5, 2025
eb2f210
Fix trailing whitespace in test_mixed_int_string.py
xaris96May 7, 2025
710e4d5
changes for pre-commit.ci
xaris96May 7, 2025
079aeb1
pre-commit run --all-files changes
xaris96May 7, 2025
545f04c
lines too long
xaris96May 7, 2025
a16f5b3
mark x fail and some tests fixed
xaris96May 8, 2025
413dad1
new
xaris96May 8, 2025
a6b958b
pd fixed
xaris96May 8, 2025
0c0ef09
test passed
xaris96May 8, 2025
d3a2378
mark.xfail instead of skip in test_setops
xaris96May 8, 2025
355a058
test_misc
xaris96May 10, 2025
a2d5fbf
done
xaris96May 10, 2025
ec189e4
better approach for mixed int, 1 more test passed
xaris96May 10, 2025
771c098
mark x fail
xaris96May 10, 2025
25ba609
Merge branch 'main' into issue-TM
xaris96May 10, 2025
acd31b1
Trigger CI rerun
xaris96May 11, 2025
b522022
test rolling change
xaris96May 11, 2025
64bf3fe
test rolling
xaris96May 11, 2025
4c4e673
new change
xaris96May 11, 2025
96c26a3
pre commit checks done
xaris96May 11, 2025
dfc6a4a
return some commits back
xaris96May 12, 2025
01a93c8
back
xaris96May 12, 2025
c5215e2
..
xaris96May 12, 2025
31e4730
adjust tolerance
xaris96May 12, 2025
b9b6ba4
xfail on 32bit platform
xaris96May 12, 2025
d661599
pre commit check. platform check added
xaris96May 13, 2025
ec5a628
unit test changes fora pyodide build test
xaris96May 14, 2025
f959d03
unit test undo changes and changes in test rolling
xaris96May 14, 2025
88e1b81
Merge branch 'main' into issue-TM
xaris96May 14, 2025
7b12c91
skip instead of fail
xaris96May 14, 2025
6a764d7
Remove files that were incorrectly brought back: coiled.svg and cibw_…
xaris96May 15, 2025
03b5a69
Merge branch 'main' into issue-TM
xaris96May 15, 2025
2856da0
Merge branch 'main' into issue-TM
xaris96May 18, 2025
ae6dd39
Added an entry in the latest doc/source/whatsnew/v3.0.0.rst
xaris96May 20, 2025
ed182bf
Merge branch 'main' into issue-TM
xaris96May 20, 2025
ed0feac
Merge branch 'main' into issue-TM
xaris96May 21, 2025
dc53d28
Trigger CI
xaris96May 21, 2025
9418256
Merge branch 'main' into issue-TM
xaris96May 21, 2025
867dfab
Merge branch 'main' into issue-TM
xaris96May 22, 2025
a61324a
Update doc/source/whatsnew/v3.0.0.rst
xaris96May 22, 2025
0d6ea71
Update pandas/tests/base/test_misc.py
xaris96May 22, 2025
105352a
Update pandas/tests/base/test_misc.py
xaris96May 22, 2025
2ad71a5
Update pandas/tests/base/test_misc.py
xaris96May 22, 2025
acfec32
comments fixed
xaris96May 22, 2025
e1a23c2
.Merge remote-tracking branch 'upstream/main' into issue-TM
xaris96May 31, 2025
4610ef4
test_misc return removed
xaris96May 31, 2025
36366ec
test setops xfail and request.node added
xaris96May 31, 2025
d33a6d8
request.node removed
xaris96May 31, 2025
68c8146
test_common changed
xaris96May 31, 2025
cf20d19
test common test_sort_values_with_missing
xaris96May 31, 2025
bd30df3
precommit fix
xaris96May 31, 2025
71d2347
some new tests fails
xaris96Jun 2, 2025
e56091c
.
xaris96Jun 2, 2025
1dd34fb
test numpy compat
xaris96Jun 2, 2025
7efb7a8
indexes\test setops
xaris96Jun 2, 2025
e8185b4
test algos
xaris96Jun 2, 2025
c2fc50e
done
xaris96Jun 2, 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
PrevPrevious commit
NextNext commit
BUG: Skip argsort tests for mixed-type Index to avoid TypeError
  • Loading branch information
@pelagiavlas
pelagiavlas committedApr 14, 2025
commitdea15de1f4edcb7586a6421bb7d00d9e02c582ec
3 changes: 2 additions & 1 deletionpandas/tests/indexes/test_old_base.py
View file
Open in desktop
Original file line numberDiff line numberDiff line change
Expand Up@@ -365,7 +365,8 @@ def test_argsort(self, index):
tm.assert_numpy_array_equal(result, expected, check_dtype=False)

def test_numpy_argsort(self, index):

if any(isinstance(x, str) for x in index) and any(isinstance(x, int) for x in index):
pytest.skip("Mixed-type Index (int & str) not sortable")
result = np.argsort(index)
expected = index.argsort()
tm.assert_numpy_array_equal(result, expected)
Expand Down

[8]ページ先頭

©2009-2025 Movatter.jp