code: def test_mi_data_columns(setup_path):
      # GH 14435
      idx = MultiIndex.from_arrays(
          [date_range("2000-01-01", periods=5), range(5)],
          names=["date", "id"],
      )
      df = DataFrame({"a": [1.1, 1.2, 1.3, 1.4, 1.5]}, index=idx)
  
      with ensure_clean_store(setup_path) as store:
          store.append("df", df, data_columns=True)
  
          actual = store.select("df", where="id == 1")
          expected = df.iloc[[1], :]
          tm.assert_frame_equal(actual, expected)
  
imports: import contextlib
  import datetime
  import hashlib
  import tempfile
  import time
  import numpy
  import pytest
  import pandas
  from pandas import DataFrame, DatetimeIndex, Index, MultiIndex, Series, Timestamp, concat, date_range, period_range, timedelta_range
  import pandas._testing
  from pandas.tests.io.pytables.common import _maybe_remove, ensure_clean_store
  from pandas.io.pytables import HDFStore, read_hdf
label_desc: Use image node_id 15 for calling a global function with example usage: test_mi_data_columns(setup_path) without return types