Skip to content

Commit

Permalink
Apply ruff formatting
Browse files Browse the repository at this point in the history
  • Loading branch information
ma595 committed Feb 18, 2025
1 parent 6155ce1 commit 35294eb
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/forecast.py
Original file line number Diff line number Diff line change
Expand Up @@ -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)
Expand Down

0 comments on commit 35294eb

Please sign in to comment.