+
    xȇi                     :    ^ RI t ^ RIHt ^ RIHt  ! R R4      tR# )    N)	DataFramec                   &   a  ] tR t^t o R tRtV tR# )TestSwaplevelc                   TpVR ,          P                  4       pVR ,          P                  ^ 4      pVR ,          P                  ^ ^4      pVR ,          P                  RR4      pVP                  P                  VP                  4      '       d   Q h\        P                  ! W44       \        P                  ! W54       \        P                  ! W64       VP                  4       pVP                  ^ 4      pVP                  ^ ^4      p	VP                  RR4      p
VP                  P                  VP                  4      '       g   Q h\        P                  ! Wx4       \        P                  ! Wy4       \        P                  ! Wz4       VP
                  pVP                  RR^R7      pVP                  RR4      P
                  p\        P                  ! W<4       Rp\        P                  ! \        VR7      ;_uu_ 4        \        \        ^4      4      P                  4        RRR4       R#   + '       g   i     R# ; i)Afirstsecond)axisz,Can only swap levels on a hierarchical axis.)matchN)	swaplevelindexequalstmassert_series_equalTassert_frame_equalpytestraises	TypeErrorr   range)self multiindex_dataframe_random_dataframeswappedswapped2swapped3swapped4backback2back3back4ftexpmsgs   &&            y/Users/max/.openclaw/workspace/postharvest/venv/lib/python3.14/site-packages/pandas/tests/frame/methods/test_swaplevel.pytest_swaplevelTestSwaplevel.test_swaplevel   s   0*&&(:''*:''1-:'':==''4444
w1
w1
w1  "!!!$!!!Q'!!(G4zz  ----
t+
t+
t+WW,,wq,9oogx022
g+<]]9C00eAh))+ 1000s   ?#H,,H=	 N)__name__
__module____qualname____firstlineno__r&   __static_attributes____classdictcell__)__classdict__s   @r%   r   r      s     , ,    r   )r   pandasr   pandas._testing_testingr   r   r(   r0   r%   <module>r4      s      , ,r0   