class_docstr: Parameters
  ---------
  country_group : h5py.Group
      The group for a single country in an HDF5 daily pricing file.
class_docstr_tok: ["Parameters","--","--","--","--","-","country_group",":","h5py.Group","The","group","for","a","single","country","in","an","HDF5","daily","pricing","file","."]
docstr: Build an indexer mapping ``self.sids`` to ``assets``.
  
  Parameters
  ----------
  assets : list[int]
      List of assets requested by a caller of ``load_raw_arrays``.
  
  Returns
  -------
  index : np.array[int64]
      Index array containing the index in ``self.sids`` for each location
      in ``assets``. Entries in ``assets`` for which we don't have a sid
      will contain -1. It is caller's responsibility to handle these
      values correctly.
docstr_tok: ["Build","an","indexer","mapping","``","self.sids","``","to","``","assets","``",".","Parameters","--","--","--","--","--","assets",":","list","[","int","]","List","of","assets","requested","by","a","caller","of","``","load_raw_arrays","``",".","Returns","--","--","--","-","index",":","np.array","[","int64","]","Index","array","containing","the","index","in","``","self.sids","``","for","each","location","in","``","assets","``",".","Entries","in","``","assets","``","for","which","we","do","n't","have","a","sid","will","contain","-1",".","It","is","caller","'s","responsibility","to","handle","these","values","correctly","."]
code: def _make_sid_selector(self, assets):
      """
      Build an indexer mapping ``self.sids`` to ``assets``.
  
      Parameters
      ----------
      assets : list[int]
          List of assets requested by a caller of ``load_raw_arrays``.
  
      Returns
      -------
      index : np.array[int64]
          Index array containing the index in ``self.sids`` for each location
          in ``assets``. Entries in ``assets`` for which we don't have a sid
          will contain -1. It is caller's responsibility to handle these
          values correctly.
      """
      assets = np.array(assets)
      sid_selector = self.sids.searchsorted(assets)
      unknown = np.in1d(assets, self.sids, invert=True)
      sid_selector[unknown] = -1
      return sid_selector
  
imports: from functools import partial
  import h5py
  import logbook
  import numpy
  import pandas
  from six import iteritems, raise_from, viewkeys
  from six.moves import reduce
  from zipline.data.bar_reader import NoDataAfterDate, NoDataBeforeDate, NoDataForSid, NoDataOnDate
  from zipline.data.session_bars import CurrencyAwareSessionBarReader
  from zipline.utils.memoize import lazyval
  from zipline.utils.numpy_utils import bytes_array_to_native_str_object_array
  from zipline.utils.pandas_utils import check_indexes_all_same
label_desc: Use image node_id 6 for calling the HDF5DailyBarReader obj's underlying member method code with example usage: obj._make_sid_selector(assets) and returns: sid_selector