You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I don't really see why getting back the data saved can't be guaranteed, it's kind of the point of IO tools. I can understand if there's no time to do it, but that's different from it not being worth doing.
Unfortunately, the documentation about float_precision in the link doesn't apply to html.
Description
Storing a double precision float as HTML (
to_html
) and loading it back (read_html
) loses precision, even thoughfloat_format
has enough precision.I saw that
float_format
is working, but even with way too many digits, it fails to recover the original number.In contrast, just calling
float
orfloat64
on the string-formatted number works perfectly fine.A small, complete example of the issue
Expected Output
Nothing
Actual Output
The last two assertions fail:
Output of
pd.show_versions()
same as #14618
The text was updated successfully, but these errors were encountered: