Note
Go to the end to download the full example code.
Uncontrollable factor
Preparing…
Import modules and prepare data.
Preparing…
import matplotlib.pyplot as plt
import pandas as pd
from Pyfrontier.frontier_model import EnvelopDEA
supply_chain_df = pd.DataFrame(
{"cost": [1, 2, 4, 6, 4], "day": [4, 2, 1, 1, 4], "profit": [2, 2, 2, 2, 2]}
)
supply_chain_df
EnvelopDEA
plt
<module 'matplotlib.pyplot' from '/home/runner/work/PyDEA/PyDEA/.venv/lib/python3.11/site-packages/matplotlib/pyplot.py'>
Total running time of the script: (0 minutes 0.001 seconds)