code: def _fx_mapping(raw_rates):
      ''' Map raw output to clearer labels '''
      return {pair[0].lower(): {
          'timeStamp': pair[1],
          'bid': float(pair[2] + pair[3]),
          'ask': float(pair[4] + pair[5]),
          'high': float(pair[6]),
          'low': float(pair[7])
      } for pair in map(lambda x: x.split(','), raw_rates)f _fx_mapping(raw_rates):
      ''' Map raw output to clearer labels '''
      return {pair[0].lower(): {
          'timeStamp': pair[1],
          'bid': float(pair[2] + pair[3]),
          'ask': float(pair[4] + pair[5]),
          'high': float(pair[6]),
          'low': float(pair[7])
      } for pair in map(lambda x: x.split(','), raw_rates)}
docs: Map raw output to clearer labels