I have an excel sheet which has few columns with background color. I need to fetch all rows which has background color in column B
. I tried with styleframe
but only able to pick specific cells from excel, not entire row.
from styleframe import StyleFrame, utils, Styler
cols = [1]
data = StyleFrame.read_excel(excel_file, read_style=True, use_openpyxl_style=false, usecols=cols)
print(data)
data.apply_style_by_index(data.index[1], Styler(bg_color='Yellow'), cols_to_style='Emp First Name')
print(data)
here is sample excel sheet
I am expecting whole rows (3,4,5,7,8,10,11,12 and 13), which has yellow background color in column B