The pandas.Series object does have many to_* functions, yet it lacks a to_excel function. Is there an easier/better way to accomplish the export in line 3 of th
to_excel
You can either:
DataFrame
in which case you've already answered your own question.
Series.to_frame()
s.to_frame(name='column_name').to_excel('xlfile.xlsx', sheet_name='s')