code: def write_hdf5_series(series, output, path=None, attrs=None, **kwargs):
      
      if attrs is None:
          attrs = format_index_array_attrs(series)
      return write_hdf5_array(series, output, path=path, attrs=attrs, **kwargs)
docs: Write a Series to HDF5.
  
      See :func:`write_hdf5_array` for details of arguments and keywords.