Skip to content

Instantly share code, notes, and snippets.

Embed
What would you like to do?
from kats.consts import TimeSeriesData
def build_kats_timeserie(dfp, column_time = "time", column_value = "value"):
return TimeSeriesData(time=dfp[column_time], value=dfp[column_value])
kts_test = build_kats_timeserie(dfp_test,"date","value")
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment