We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
see also #17280, #25917 and #25919
Note: complex numbers are covered by #25514 and #25745 for to_string()
to_string()
import pandas as pd float_val = 0.55555555 complex_val = complex(float_val,float_val) tuple_val= float_val,float_val df = pd.DataFrame([float_val, complex_val, tuple_val]) pd.set_option('display.precision', 3) df
not all the float values are displayed with a precision of 3.
pd.show_versions()
[paste the output of pd.show_versions() here below this line]
The text was updated successfully, but these errors were encountered:
Related: display.precision not honored for pd.Intervals of subtype float.
Sorry, something went wrong.
No branches or pull requests
see also #17280, #25917 and #25919
Note: complex numbers are covered by #25514 and #25745 for
to_string()
Code Sample, a copy-pastable example if possible
Problem description
not all the float values are displayed with a precision of 3.
Expected Output
Output of
pd.show_versions()
[paste the output of
pd.show_versions()
here below this line]The text was updated successfully, but these errors were encountered: