Skip to content

BUG: pip pre failures #11278

@larsoner

Description

@larsoner

Seen in #11277, maybe due to Pandas update since it doesn't seem related to plotting. @drammock can you look?

https://github.com/mne-tools/mne-python/actions/runs/3318827598/jobs/5483221858#step:14:3805

_____________ test_unaggregated_spectrum_to_data_frame[welch-True] _____________
mne/time_frequency/tests/test_spectrum.py:158: in test_unaggregated_spectrum_to_data_frame
    assert_frame_equal(agg_df, orig_df, check_categorical=False)
pandas/_libs/testing.pyx:52: in pandas._libs.testing.assert_almost_equal
    ???
pandas/_libs/testing.pyx:170: in pandas._libs.testing.assert_almost_equal
    ???
E   AssertionError: DataFrame.iloc[:, 1] (column name="channel") are different
E   
E   DataFrame.iloc[:, 1] (column name="channel") values are different (100.0 %)
E   [index]: [0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15]
E   [left]:  ['MEG 0111', 'MEG 0112', 'MEG 0121', 'MEG 0122', 'MEG 0123', ..., 'MEG 0122', 'MEG 0123', 'MEG 0131', 'MEG 0132', 'MEG 0133']
E   Length: 16
E   Categories (8, object): ['MEG 0111', 'MEG 0112', 'MEG 0121', 'MEG 0122', 'MEG 0123', 'MEG 0131',
E                            'MEG 0132', 'MEG 0133']
E   [right]: ['MEG 0112', 'MEG 0111', 'MEG 0122', 'MEG 0123', 'MEG 0121', ..., 'MEG 0123', 'MEG 0121', 'MEG 0132', 'MEG 0133', 'MEG 0131']
E   Length: 16
E   Categories (8, object): ['MEG 0111', 'MEG 0112', 'MEG 0121', 'MEG 0122', 'MEG 0123', 'MEG 0131',
E                            'MEG 0132', 'MEG 0133']
E   At positional index 0, first diff: MEG 0111 != MEG 0112

Metadata

Metadata

Assignees

Labels

No labels
No labels

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions