code: def test_reindex_api_equivalence(self):
      # https://github.com/pandas-dev/pandas/issues/12392
      # equivalence of the labels/axis and index/columns API's
      df = DataFrame(
          [[1, 2, 3], [3, 4, 5], [5, 6, 7]],
          index=["a", "b", "c"],
          columns=["d", "e", "f"],
      )
  
      res1 = df.reindex(["b", "a"])
      res2 = df.reindex(index=["b", "a"])
      res3 = df.reindex(labels=["b", "a"])
      res4 = df.reindex(labels=["b", "a"], axis=0)
      res5 = df.reindex(["b", "a"], axis=0)
      for res in [res2, res3, res4, res5]:
          tm.assert_frame_equal(res1, res)
  
      res1 = df.reindex(columns=["e", "d"])
      res2 = df.reindex(["e", "d"], axis=1)
      res3 = df.reindex(labels=["e", "d"], axis=1)
      for res in [res2, res3]:
          tm.assert_frame_equal(res1, res)
  
      res1 = df.reindex(index=["b", "a"], columns=["e", "d"])
      res2 = df.reindex(columns=["e", "d"], index=["b", "a"])
      res3 = df.reindex(labels=["b", "a"], axis=0).reindex(
          labels=["e", "d"], axis=1
      )
      for res in [res2, res3]:
          tm.assert_frame_equal(res1, res)
  
imports: from datetime import datetime, timedelta
  import inspect
  import numpy
  import pytest
  from pandas._libs.tslibs.timezones import dateutil_gettz
  from pandas.compat import IS64, is_platform_windows
  from pandas.compat.numpy import np_version_gt2
  import pandas
  from pandas import Categorical, CategoricalIndex, DataFrame, Index, MultiIndex, Series, date_range, isna
  import pandas._testing
  from pandas.api.types import CategoricalDtype
label_desc: Use image node_id 35 for calling the TestDataFrameSelectReindex obj's underlying member method code with example usage: obj.test_reindex_api_equivalence() without return types