Pandas Series should provide to_excel method #8825

Closed
scls19fr opened this Issue Nov 15, 2014 · 1 comment

Comments

Projects
None yet
3 participants
Contributor

scls19fr commented Nov 15, 2014

Hello,

Pandas Series provide to_csvmethod but they doesn't provide to_excel method.
Adding to_excel will avoid user to convert a pandas.core.series.Series to a pandas.core.frame.DataFrame in order to output Excel file

DataFrames provide

df.to_clipboard  df.to_hdf        df.to_period     df.to_string
df.to_csv        df.to_html       df.to_pickle     df.to_timestamp
df.to_dense      df.to_json       df.to_records    df.to_wide
df.to_dict       df.to_latex      df.to_sparse
df.to_excel      df.to_msgpack    df.to_sql
df.to_gbq        df.to_panel      df.to_stata

Series provide

ts.to_clipboard  ts.to_frame      ts.to_period     ts.to_string
ts.to_csv        ts.to_hdf        ts.to_pickle     ts.to_timestamp
ts.to_dense      ts.to_json       ts.to_sparse     ts.tolist
ts.to_dict       ts.to_msgpack    ts.to_sql

Kind regards

jreback added this to the 0.16.0 milestone Nov 15, 2014

Contributor

jreback commented Nov 15, 2014

ok, current work-around is:

s.to_frame().to_excel()

pulll-requests welcome

@jreback jreback modified the milestone: 0.16.0, Next Major Release Mar 6, 2015

@scls19fr scls19fr added a commit to scls19fr/pandas that referenced this issue Dec 1, 2016

@scls19fr scls19fr ENH: Pandas Series provide to_excel method
Closes #8825
8a2cd85

scls19fr referenced this issue Dec 1, 2016

Merged

ENH: Pandas Series provide to_excel method #14780

3 of 4 tasks complete

@scls19fr scls19fr added a commit to scls19fr/pandas that referenced this issue Dec 2, 2016

@scls19fr scls19fr ENH: Pandas Series provide to_excel method
Closes #8825
df02b00

@scls19fr scls19fr added a commit to scls19fr/pandas that referenced this issue Dec 4, 2016

@scls19fr scls19fr ENH: Pandas Series provide to_excel method
Closes #8825
4353531

@scls19fr scls19fr added a commit to scls19fr/pandas that referenced this issue Dec 4, 2016

@scls19fr scls19fr ENH: Pandas Series provide to_excel method
Closes #8825
0ab4876
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment