code: def to_series(self, properties=None):
          
          import pandas as pd
          return pd.Series(self.to_dict(properties))
docs: Return a pandas :class:`~pandas.Series` containing Compound data. Optionally specify a list of the desired
          properties.
  
          synonyms, aids and sids are not included unless explicitly specified using the properties parameter. This is
          because they each require an extra request.