code: def test_select_by_index_simple():
      """
      Test getting a column by label
      """
      ca = ColumnAccessor({"a": [1, 2, 3], "b": [2, 3, 4]})
      check_ca_equal(
          ca.select_by_index(0), ColumnAccessor({"a": [1, 2, 3]})
      )
      check_ca_equal(
          ca.select_by_index(1), ColumnAccessor({"b": [2, 3, 4]})
      )
      check_ca_equal(ca.select_by_index([0, 1]), ca)
      check_ca_equal(ca.select_by_index(slice(0, None)), ca)
  
imports: import pandas
  import pytest
  import cudf
  from cudf.core.column_accessor import ColumnAccessor
  from cudf.testing._utils import assert_eq
label_desc: Use image node_id 16 for calling a global function with example usage: test_select_by_index_simple() without return types