I have a pandas DataFrame with mixed values in it. I am working in Ipython notebook while developing it. When displaying the dataframe I would like it to display to facilitate easier reading. At the moment I am using python string formatting to display all floats to 4 decimals and to add thousand separators.
pd.options.display.float_format = '{:,.4f}'.format
Ideally I would like to E.g. Display Values over 10000 without decimals, fractions with 4 significant digits etc. Is there a way that I can use the python string formatting syntax to achieve this? I know i can do it for individual column, but am looking to to this purely for the display within the notebook?