def get_epoch_max_val_acc(data):
    """Gets the epoch with the highest validation accuracy.
        Args:
            data: Panda dataframe in *the* format.
        Returns:
            Row with the maximum validatin accuracy.
    """
    df_val = data[data['data'] == 'validation']
    return df_val[df_val['acc'] == df_val['acc'].max()]