tspy.data_structures.io.MultiTimeSeriesWriteFormat module¶
-
class
tspy.data_structures.io.MultiTimeSeriesWriteFormat.
MultiTimeSeriesWriteFormat
¶ Bases:
object
Format which denotes how to write a multi-time-series to a data-source
Methods
write
(observations_dict, encode_key_func, …)Given a dict of (key, observations), a key encoder, a value encoder, and options created from time-series-writer, write to an outside data-source
-
abstract
write
(observations_dict, encode_key_func, encode_value_func, options)¶ Given a dict of (key, observations), a key encoder, a value encoder, and options created from time-series-writer, write to an outside data-source
- Parameters
- observations_dictdict
the in-memory observations to write to an outside data-source
- encode_key_funcfunc
function to encode a key to a String, by default __str__ is used
- encode_value_funcfunc
function to encode a value to a String, by default __str__ is used
- optionsdict
key-value string pair in map of options to be used in writing
-
abstract