parameters: (requestContext, seriesList, *mapNodes)
return_statement: return [ metaSeries[k] for k in keys ]
docstring: Short form: ``map()``
  
    Takes a seriesList and maps it to a list of seriesList. Each seriesList has the
    given mapNodes in common.
  
    .. note:: This function is not very useful alone. It should be used with :py:func:`reduceSeries`
  
    .. code-block:: none
  
      mapSeries(servers.*.cpu.*,1) =>
  
        [
          servers.server1.cpu.*,
          servers.server2.cpu.*,
          ...
          servers.serverN.cpu.*
        ]
  
    Each node may be an integer referencing a node in the series name or a string identifying a tag.
docstring_summary: Short form: ``map()``
docstring_tokens: Short form : map ()
function: def mapSeries(requestContext, seriesList, *mapNodes):
    """
    Short form: ``map()``
  
    Takes a seriesList and maps it to a list of seriesList. Each seriesList has the
    given mapNodes in common.
  
    .. note:: This function is not very useful alone. It should be used with :py:func:`reduceSeries`
  
    .. code-block:: none
  
      mapSeries(servers.*.cpu.*,1) =>
  
        [
          servers.server1.cpu.*,
          servers.server2.cpu.*,
          ...
          servers.serverN.cpu.*
        ]
  
    Each node may be an integer referencing a node in the series name or a string identifying a tag.
    """
    metaSeries = {}
    keys = []
    for series in seriesList:
      key = aggKey(series, mapNodes)
      if key not in metaSeries:
        metaSeries[key] = [series]
        keys.append(key)
      else:
        metaSeries[key].append(series)
    return [ metaSeries[k] for k in keys ]
function_tokens: def mapSeries ( requestContext , seriesList , * mapNodes ) : metaSeries = { } keys = [ ] for series in seriesList : key = aggKey ( series , mapNodes ) if key not in metaSeries : metaSeries [ key ] = [ series ] keys . append ( key ) else : metaSeries [ key ] . append ( series ) return [ metaSeries [ k ] for k in keys ]