code: def test_select_rows_scalar_(dataframe):
      """Test output for rows only"""
      actual = dataframe.select(index="bar")
      expected = dataframe.xs("bar", axis=0, level=0, drop_level=False)
      assert_frame_equal(actual, expected)
  
imports: import numpy
  import pandas
  import pytest
  from pandas.testing import assert_frame_equal
  from janitor.functions.utils import DropLabel
label_desc: Use image node_id 11 for calling a global function with example usage: test_select_rows_scalar_(dataframe) without return types