docs: def name(self, name=None):
          """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"""
  
          if name is None:
              return self._name
          else:
              if not isinstance(name, str) and name is not None:
                  raise TypeError("name must be str, not '%s'" % str(name))
              self._name = name