Main
View or edit on GitHub
This page is synchronized from trase/models/peru/gold/main.ipynb. Last modified on 2025-12-13 00:30 CET by Trase Admin.
Please view or edit the original file there; changes should be reflected here after a midnight build (CET time),
or manually triggering it with a GitHub action (link).
%configure_logging
from trase.tools.sps import SupplyChain
supplychain = SupplyChain("peru/gold", 2018)
# supplychain.preparation()
supplychain.load()
# supplychain.run()
# supplychain.flow_report_by_attribute("vol", ["status", "branch"])
# supplychain.export_results()
# supplychain.upload_results()
supplychain.get("flows").columns
import pandas as pd
pd.read_csv(
"2018/downloaded/flows.csv", sep=";", usecols=["PRODUCT_SCHEDULE_B_CODE"]
).drop_duplicates()
len("7108120000")
supplychain.get("flows").columns
import pandas as pd
pd.read_csv(
"2018/downloaded/flows.csv", sep=";", usecols=["PRODUCT_SCHEDULE_B_CODE"]
).drop_duplicates()
len("7108120000")
supplychain.get("flows").columns
import pandas as pd
pd.read_csv(
"2018/downloaded/flows.csv", sep=";", usecols=["PRODUCT_SCHEDULE_B_CODE"]
).drop_duplicates()
len("7108120000")