Created
September 25, 2018 14:05
-
-
Save tkhduracell/1d3f9de441d4c20bfd4f62efb4a845c1 to your computer and use it in GitHub Desktop.
Space separate thousands in Pandas Dataframe
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import pandas as pd | |
pd.set_option('display.float_format', lambda x: "{:0,.0f}".format(x).replace(',', ' ')) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment