This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
from StringIO import StringIO | |
from openpyxl import Workbook | |
from openpyxl.compat import range | |
from openpyxl.cell import get_column_letter | |
from openpyxl.styles import Style, Font | |
def make_excel(dataset, | |
key_headers=None, # The order of attributes, or what to include | |
line_headers=None, # The order of table attributes, or what to include |