I typically use pandas to produce nice looking tabulated output in a workbook
How to apply different conditional formatting per row to highlight the cells that fail. Ie for the R1 row, values > 3, R2 row values <5 etc...
or say... for each column, which R2 < R1
R1 = [1,10,3]
R2 = [4,5,6]
E_Rfsw = [7,8,9]
data = [R1, R2,E_Rfsw]
df = pd.DataFrame(data,
columns=[V for V in design.Vout],
index=['FB R1 (kΩ)', 'FB R2 (kΩ)','Fsw resistor (kΩ)'],
)
display(df.round(4))
