code: def test_between_time_axis_aliases(self, axis):
      # GH#8839
      rng = date_range("1/1/2000", periods=100, freq="10min")
      ts = DataFrame(
          np.random.default_rng(2).standard_normal((len(rng), len(rng)))
      )
      stime, etime = ("08:00:00", "09:00:00")
      exp_len = 7
  
      if axis in ["index", 0]:
          ts.index = rng
          assert len(ts.between_time(stime, etime)) == exp_len
          assert len(ts.between_time(stime, etime, axis=0)) == exp_len
  
      if axis in ["columns", 1]:
          ts.columns = rng
          selected = ts.between_time(stime, etime, axis=1).columns
          assert len(selected) == exp_len
  
file_path: pandas/pandas/tests/frame/methods/test_between_time.py
imports: from datetime import datetime, time
  import numpy
  import pytest
  from pandas._libs.tslibs import timezones
  import pandas.util._test_decorators
  from pandas import DataFrame, Series, date_range
  import pandas._testing
label_desc: Use image node_id 7 for calling the TestBetweenTime obj's underlying member method code with example usage: obj.test_between_time_axis_aliases(axis) without return types