can anyone explain why:
bal_sheet.style.format('${:,.2f}')
in jupyter notebooks generates a nicely formatted print out of the dataframe, but generates a AttributeError: 'DataFrame' object has no attribute 'format' in pycharm?
related question suggests identifying each row and column you want to format.
is there a way to format the entire dataframe without listing the indices?
i tried using:
print(f'{bal_sheet:.2f}')
but got TypeError: unsupported format string passed to DataFrame.format error message.
how do you format the printout of a dataframe?