code: def test_multi_axis_dups(self):
      # multi-axis dups
      # GH 6121
      df = DataFrame(
          np.arange(25.0).reshape(5, 5),
          index=["a", "b", "c", "d", "e"],
          columns=["A", "B", "C", "D", "E"],
      )
      z = df[["A", "C", "A"]].copy()
      expected = z.loc[["a", "c", "a"]]
  
      df = DataFrame(
          np.arange(25.0).reshape(5, 5),
          index=["a", "b", "c", "d", "e"],
          columns=["A", "B", "C", "D", "E"],
      )
      z = df[["A", "C", "A"]]
      result = z.loc[["a", "c", "a"]]
      tm.assert_frame_equal(result, expected)
  
imports: import numpy
  import pytest
  import pandas
  from pandas import DataFrame, Series, date_range
  import pandas._testing
label_desc: Use image node_id 9 for calling the TestDataFrameNonuniqueIndexes obj's underlying member method code with example usage: obj.test_multi_axis_dups() without return types