I am able to import data from an excel file using Pandas by using:
xl = read_excel(\'path_to_file.xls\', \'Sheet1\', index_col=None, na_values=[\'NA\'])
try something like this:
with pandas.io.excel.ExcelWriter(path=Path, engine="xlsxwriter") as writer: sheet = writer.book.worksheets()[0] sheet.write(x, y, value, format) #format is what determines the color etc.
More info here: https://xlsxwriter.readthedocs.org/format.html