Skip to content

Why not show the index when I save sf to excel? #62

@boh5

Description

@boh5
  • Python == 3.7
  • StyleFrame == 2.0.5
  • pandas == 0.25.3
  • openpyxl == 3.0.2

My code shows below, I tried to save sf to excel file, but lost the index in excel.

ew = StyleFrame.ExcelWriter(filepath + '/' + filename + '-result' + extension)
sf.to_excel(ew, best_fit=sf.columns.to_list())
ew.save()

THX

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions