TimeFrame.with_metadata

TimeFrame.with_metadata(metadata)[source]

Return a new TimeFrame with TimeFrame-level metadata.

Parameters:

metadata (dict[str, Any]) – Mapping of arbitrary keys/values describing the time series as a whole.

Return type:

Self

Returns:

A new TimeFrame with timeFrame-level metadata has set to the provided metadata.