src/analyzeScenario.py
def takeInScenario(filename: str) -> list:
    """
    Take in scenario information from scenario file

    Parameters
    ----------
        filename: str
            full path of scenario file
    Returns
    ----------
        lst_scenario: list
            demension 1: scenarios
            demension 2:
                0: numbers, 1: scenario's items (orders and recipes) 2: judges
    """
    snHeader = 0
    snIndexCol = None
    snSname = 'scenario'
    df_scenario = pd.read_excel(filename,header=snHeader,index_col=snIndexCol,sheet_name=snSname)
    lst_scenario = df_scenario.fillna('').values.tolist()
    return lst_scenario

    Take in scenario information from scenario file

    Parameters
    ----------
        filename: str
            full path of scenario file
    Returns
    ----------
        lst_scenario: list
            demension 1: scenarios
            demension 2:
                0: numbers, 1: scenario's items (orders and recipes) 2: judges
    
Take in scenario information from scenario file
Parameters

str
full path of scenario file
Returns


Take in scenario information from scenario file Parameters str full path of scenario file Returns
def takeInScenario(filename: str) -> list:
    snHeader = 0
    snIndexCol = None
    snSname = 'scenario'
    df_scenario = pd.read_excel(filename,header=snHeader,index_col=snIndexCol,sheet_name=snSname)
    lst_scenario = df_scenario.fillna('').values.tolist()
    return lst_scenario
def takeInScenario ( filename : str ) -> list : snHeader = 0 snIndexCol = None snSname = 'scenario' df_scenario = pd . read_excel ( filename , header = snHeader , index_col = snIndexCol , sheet_name = snSname ) lst_scenario = df_scenario . fillna ( '' ) . values . tolist ( ) return lst_scenario
Take in scenario information from scenario file
Parameters
Take in scenario information from scenario file Parameters
"""
    Take in scenario information from scenario file

    Parameters
    ----------
        filename: str
            full path of scenario file
    Returns
    ----------
        lst_scenario: list
            demension 1: scenarios
            demension 2:
                0: numbers, 1: scenario's items (orders and recipes) 2: judges
    """
filename
str