def get_epoch_min_val_loss(data):
    """Gets the epoch with the lowest validation loss.
        Args:
            data: Panda dataframe in *the* format.
        Returns:
            Row with the minimum validation loss.
    """
    df_val = data[data['data'] == 'validation']
    return df_val[df_val['loss'] == df_val['loss'].min()]
