From e26ed4d7f06aea1d5e91dad47981103ca058d562 Mon Sep 17 00:00:00 2001 From: Alina Voilova Date: Mon, 13 May 2024 11:49:54 +0200 Subject: [PATCH] deleted unnecessary files --- dev_scripts/plot_state.py | 16 ---------------- dev_scripts/tree.py | 16 ---------------- 2 files changed, 32 deletions(-) delete mode 100644 dev_scripts/plot_state.py delete mode 100644 dev_scripts/tree.py diff --git a/dev_scripts/plot_state.py b/dev_scripts/plot_state.py deleted file mode 100644 index 16a6a87..0000000 --- a/dev_scripts/plot_state.py +++ /dev/null @@ -1,16 +0,0 @@ -import matplotlib.pyplot as plt -import pandas as pd - -import portfolyo as pf -from portfolyo.core.pfline.enums import Kind -from portfolyo.core.pfstate.pfstate import PfState - -index = pd.date_range( - "2022-06-01", "2024-02-01", freq="MS", tz="Europe/Berlin", inclusive="left" -) -offtakevolume = pf.dev.get_nestedpfline(index, kind=Kind.VOLUME, childcount=2) -sourced = pf.dev.get_nestedpfline(index, kind=Kind.COMPLETE, childcount=2) -unsourcedprice = pf.dev.get_nestedpfline(index, kind=Kind.PRICE, childcount=2) -pfs = PfState(-1 * offtakevolume, unsourcedprice, sourced) -pfs.plot(children=True) -plt.show() diff --git a/dev_scripts/tree.py b/dev_scripts/tree.py deleted file mode 100644 index 00a9920..0000000 --- a/dev_scripts/tree.py +++ /dev/null @@ -1,16 +0,0 @@ -import os - - -def list_files(startpath): - for root, dirs, files in os.walk(startpath): - level = root.replace(startpath, "").count(os.sep) - indent = " " * 4 * (level) - print("{}{}/".format(indent, os.path.basename(root))) - subindent = " " * 4 * (level + 1) - for f in files: - print("{}{}".format(subindent, f)) - - -list_files( - "/Users/alina.voilova/Library/CloudStorage/OneDrive-LichtBlickSE/Desktop/portfolyo/portfolyo/portfolyo" -)