docstr: Look up the returns for a given period.
  
  Parameters
  ----------
  start_dt : datetime
      The inclusive start label.
  end_dt : datetime
      The inclusive end label.
  
  Returns
  -------
  returns : pd.Series
      The series of returns.
  
  See Also
  --------
  :class:`zipline.sources.benchmark_source.BenchmarkSource.daily_returns`
  
  .. warning::
  
     This method expects minute inputs if ``emission_rate == 'minute'``
     and session labels when ``emission_rate == 'daily``.
docstr_tok: ["Look","up","the","returns","for","a","given","period",".","Parameters","--","--","--","--","--","start_dt",":","datetime","The","inclusive","start","label",".","end_dt",":","datetime","The","inclusive","end","label",".","Returns","--","--","--","-","returns",":","pd.Series","The","series","of","returns",".","See","Also","--","--","--","--",":","class",":","`","zipline.sources.benchmark_source.BenchmarkSource.daily_returns","`","..","warning",":",":","This","method","expects","minute","inputs","if","``","emission_rate","==","'minute","'","``","and","session","labels","when","``","emission_rate","==","'daily","``","."]
code: def get_range(self, start_dt, end_dt):
      """Look up the returns for a given period.
  
      Parameters
      ----------
      start_dt : datetime
          The inclusive start label.
      end_dt : datetime
          The inclusive end label.
  
      Returns
      -------
      returns : pd.Series
          The series of returns.
  
      See Also
      --------
      :class:`zipline.sources.benchmark_source.BenchmarkSource.daily_returns`
  
      .. warning::
  
         This method expects minute inputs if ``emission_rate == 'minute'``
         and session labels when ``emission_rate == 'daily``.
      """
      return self._precalculated_series.loc[start_dt:end_dt]
  
file_path: zipline/zipline/sources/benchmark_source.py
imports: import pandas
  from zipline.errors import InvalidBenchmarkAsset, BenchmarkAssetNotAvailableTooEarly, BenchmarkAssetNotAvailableTooLate
label_desc: Use image node_id 3 for calling the BenchmarkSource obj's underlying member method code with example usage: obj.get_range(start_dt, end_dt) and returns: self