snsary.functions.rename

Maps each Reading to a new one with the name altered as specified. This can be useful to distinguish the same Readings being aggregated in different ways.

Supported alterations include:

  • to - replaces the name of the reading with the one specified.

  • append - adds to the new or existing name of the reading.

Module Contents

class snsary.functions.rename.Rename(append='', to=None)

Bases: snsary.functions.function.Function

__call__(reading)