def _maybe_slice(grouped, columns):
    if isinstance(grouped, pd.core.groupby.DataFrameGroupBy):
        if columns is not None:
            return grouped[columns]
    return grouped
Return a float representing the number of errors in the minibatch ;
dataset/ETHPy150Open dask/dask/dask/dataframe/groupby.py/_maybe_slice--crossover with--dataset/ETHPy150Open flipkart-incubator/optimus/cnn_text_trainer/core/nn_classes.py/LogisticRegression.errors