I have columns:
df.columns = ['Nume', 'Tip de', 'Unit', 'Speciale Price', 'Suma de', 'Suma']
How to set width for each column?
I tried this way:
def width_cells():
return ['width: 400px']
df.style.apply(width_cells)
I have columns:
df.columns = ['Nume', 'Tip de', 'Unit', 'Speciale Price', 'Suma de', 'Suma']
How to set width for each column?
I tried this way:
def width_cells():
return ['width: 400px']
df.style.apply(width_cells)