def cleanDf(df):
    """
    Simple clean of hyperparameter pd.DataFrame object.
    Removes failed runs and unfinished runs.

    df - hyperparameter pd.DataFrame

    returns cleaned hyperparameter pd.DataFrame
    """
    df = df[df.Mass_Balance != 999999]
    df = df[df['Loss'].notna()]
    df.drop(columns=['option'], inplace=True)
    return df