Skip to content

Commit

Permalink
hotfix
Browse files Browse the repository at this point in the history
  • Loading branch information
John Bogaardt committed Aug 14, 2020
1 parent eb68da0 commit 2f0d631
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions xlcompose/core.py
Original file line number Diff line number Diff line change
Expand Up @@ -213,9 +213,9 @@ def _write_image(self, exhibit):
def _write_header(self, exhibit):
''' Adds column headers to data table '''
if type(exhibit.data.columns) == pd.PeriodIndex:
header = exhibit.data.columns.astype(str)
headers = exhibit.data.columns.astype(str)
else:
header = exhibit.data.columns
headers = exhibit.data.columns
if exhibit.index:
headers = [exhibit.index_label]+list(header)
header_format = self.default_formats.copy()
Expand Down

0 comments on commit 2f0d631

Please sign in to comment.