tsa.group_get#

mainsource.group_get(name, revision_date=None, from_value_date=None, to_value_date=None)#

Get a group by name.

By default one gets the latest version.

By specifying revision_date one can get the closest version matching the given date.

The from_value_date and to_value_date parameters permit to specify a narrower date range (by default all points are provided).

If the group does not exists, a None is returned.

Parameters:
  • name (str)

  • revision_date (Timestamp | None)

  • from_value_date (Timestamp | None)

Return type:

DataFrame | None