You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Would it make sense to filter the columns first, to keep the numerical ones only?
The text was updated successfully, but these errors were encountered:
olp-cs
changed the title
Failing test: test_merge_and_average fails with a TypeError
Failing test: test_merge_and_average fails with a TypeError with pandas 2.0.3
Jul 22, 2024
The test is failing on platforms:
Update: The test passes with Python 3.8 and pandas 1.3.0; it seems to be a backward compatibility issue with pandas.
Failed test:
test_GEOparse.py:626
(TestGSE.test_merge_and_average
)The test fails on this line:
..\src\GEOparse\GEOTypes.py:445
: inannotate_and_average
where
tmp_data
is a pandas dataframe that contains both numeric and string columns (attached: tmp_data.csv);expression_column
= 'VALUE'group_by_column
= 'GB_ACC'Jupyter notebook reproducing the issue:
https://gist.github.com/olp-cs/9902b5cdc554afbf3faa7127ee602f20
Would it make sense to filter the columns first, to keep the numerical ones only?
The text was updated successfully, but these errors were encountered: