@derived_from(pd.Series)
    def value_counts(self):
        chunk = lambda s: s.value_counts()
        if '0.16.2' > LooseVersion(pd.__version__):
            agg = lambda s: s.groupby(level=0).sum().sort_values(ascending=False)
        else:
            agg = lambda s: s.groupby(level=0).sum().sort(inplace=False, ascending=False)
        return aca(self, chunk=chunk, aggregate=agg, columns=self.name,
                   token='value-counts')
dataset/ETHPy150Open dask/dask/dask/dataframe/core.py/Series.value_counts/swapped operands of `>`