Skip to content

Instantly share code, notes, and snippets.

@Mr-Geekman
Created February 13, 2023 13:50
Show Gist options
  • Save Mr-Geekman/b651949977cc31dca6798771af9ebc41 to your computer and use it in GitHub Desktop.
Save Mr-Geekman/b651949977cc31dca6798771af9ebc41 to your computer and use it in GitHub Desktop.
import pandas as pd
from etna.datasets import TSDataset
df = pd.read_csv(DATA_PATH / "tourism_monthly.csv", parse_dates=["timestamp"])
ts = TSDataset(df=TSDataset.to_dataset(df), freq="MS")
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment