code: def test_missing_some_array(dates):
      """Raise if some of the labels do not exist."""
      with pytest.raises(KeyError):
          arr = pd.array(["2011", "2011-01-31"])
          dates.select_rows(arr)
  
imports: import datetime
  import re
  import numpy
  import pandas
  import pytest
  from pandas.testing import assert_frame_equal
label_desc: Use image node_id 36 for calling a global function with example usage: test_missing_some_array(dates) without return types