Feb-04-2022, 09:22 PM
Tabulate has a description of column alignment on the module page. You should be able to either set a default for all numeric columns (or string columns), or you can set it for each column individually.
Try:
Try:
print(tabulate(df, showindex=False, headers=df.columns, numalign="left"))