Skip to content

Instantly share code, notes, and snippets.

@jeanmidevacc
Last active January 25, 2022 02:50
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save jeanmidevacc/e307c6df21a72232de50f14377fb7d23 to your computer and use it in GitHub Desktop.
Save jeanmidevacc/e307c6df21a72232de50f14377fb7d23 to your computer and use it in GitHub Desktop.
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