cyrilou242 / mockseries

Easy and intuitive generation of synthetic timeseries for Python.

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Implement deepCopyWith and copyWith

cyrilou242 opened this issue · comments

Implement a copy mechanism and a deepcopy mechanism.
(use copy from python)

Maybe allow change at copytime

maybe only deep copies. ? or deep as argument (default true) to keep simple

Eg:
ts=TimeSeries()
ts2 = ts.deep_copy_with(start_level=NEW_VALUE)