Skip to content

Poop Code

  • Home
  • Linux

Python code snippet – How to make print float value without scientific notation in dataframe in jupyter notebook?

November 28, 2024 by poopcode
In [25]: pd.set_option('display.float_format', lambda x: '%.3f' % x)

In [28]: Series(np.random.randn(3))*1000000000
Out[28]: 
0    -757322420.605
1   -1436160588.997
2   -1235116117.064
dtype: float64
Categories Python
Running Sum of 1d Array – Leetcode Challenge – Python Solution
HackerRank Solutions – Tries – Contacts – Java Solution
© 2025 Poop Code • Built with GeneratePress