From 35294ebf17838c8d3f4a3e6f46ceac67b8f54a1a Mon Sep 17 00:00:00 2001 From: Matt Archer Date: Tue, 18 Feb 2025 13:42:33 +0000 Subject: [PATCH] Apply ruff formatting --- lib/forecast.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/forecast.py b/lib/forecast.py index 9328e1b..435adc0 100644 --- a/lib/forecast.py +++ b/lib/forecast.py @@ -43,7 +43,7 @@ def load_ts(file, var): dico = np.load(file + f"/{var}.npz", allow_pickle=True) dico = {key: dico[key] for key in dico.keys()} df = pd.DataFrame( - dico["ts"], columns=[f"{var}-{i+1}" for i in range(np.shape(dico["ts"])[1])] + dico["ts"], columns=[f"{var}-{i + 1}" for i in range(np.shape(dico["ts"])[1])] ) with open(file + f"/pca_{var}", "rb") as file: dico["pca"] = pickle.load(file)