Created
January 6, 2017 19:04
-
-
Save seufagner/021ee8668d9fc490e265f9b600034cd9 to your computer and use it in GitHub Desktop.
format pandas float point
This file contains hidden or 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: '%.3f' % x) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment