def _set_name(self, name, inplace=False):
        ser = self if inplace else self.copy()
        ser.name = name
        return ser

    # ----------------------------------------------------------------------
    # Statistics, overridden ndarray methods

    # TODO: integrate bottleneck
Tests that the update command exists.
dataset/ETHPy150Open pydata/pandas/pandas/core/series.py/Series._set_name--crossover with--dataset/ETHPy150Open CollabQ/CollabQ/appengine_django/tests/commands_test.py/CommandsTest.testUpdate