Feb-16-2020, 03:05 AM
(This post was last modified: Feb-16-2020, 03:05 AM by new_to_python.)
Thanks. I tried
IndexError: Too many levels: Index has only 1 level, not 2
A_new = A.reindex(['Ohio', 'Colorado'], axis=1, level=1)but it returned:
IndexError: Too many levels: Index has only 1 level, not 2