def name(self, name=None):
if name is None:<EOL><INDENT>return self._name<EOL><DEDENT>else:<EOL><INDENT>if not isinstance(name, str) and name is not None:<EOL><INDENT>raise TypeError("<STR_LIT>" % str(name))<EOL><DEDENT>self._name = name<EOL><DEDENT>
Returns or sets (if a value is provided) the series' name.

        :param str name: If given, the series' name will be set to this.
        :rtype: str