class_docstr: An FXRateReader backed by HDF5.
  
  Parameters
  ----------
  group : h5py.Group
      Top-level group written by an :class:`HDF5FXRateWriter`.
  default_rate : str
      Rate to use when ``get_rates`` is called requesting the default rate.
docstr: Construct from a file path.
  
  Parameters
  ----------
  path : str
      Path to an HDF5 fx rates file.
  default_rate : str
      Rate to use when ``get_rates`` is called requesting the default
      rate.
docstr_tok: ["Construct","from","a","file","path",".","Parameters","--","--","--","--","--","path",":","str","Path","to","an","HDF5","fx","rates","file",".","default_rate",":","str","Rate","to","use","when","``","get_rates","``","is","called","requesting","the","default","rate","."]
code: def from_path(cls, path, default_rate):
      """
      Construct from a file path.
  
      Parameters
      ----------
      path : str
          Path to an HDF5 fx rates file.
      default_rate : str
          Rate to use when ``get_rates`` is called requesting the default
          rate.
      """
      return cls(h5py.File(path), default_rate=default_rate)
  
imports: from interface import implements
  import h5py
  from logbook import Logger
  import numpy
  import pandas
  from zipline.utils.memoize import lazyval
  from zipline.utils.numpy_utils import bytes_array_to_native_str_object_array
  from .base import FXRateReader, DEFAULT_FX_RATE
  from .utils import check_dts, is_sorted_ascending
label_desc: Use image node_id 2 for calling the HDF5FXRateReader obj's underlying member method code with example usage: obj.from_path(cls, path, default_rate) and returns: cls