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
Set the Series name.
dataset/ETHPy150Open pydata/pandas/pandas/core/series.py/Series._set_name