Skip to content

Commit 92dd1da

Browse files
author
Jessica Oraegbu
committed
Fixing format in floating point precision docs
1 parent d352592 commit 92dd1da

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

doc/source/user_guide/io.rst

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1700,7 +1700,8 @@ The conversion process is not always guaranteed to be accurate because small dif
17001700
x2 = df2['One'][0]
17011701
17021702
print(f"x0 = {x0}; x1 = {x1}; Are they equal? {x0 == x1}")
1703-
print("x0 = %f; x2 = %f; Are they equal? %s" % (x0, x2, (x0 == x2)))
1703+
print(f"x0 = {x0}; x2 = {x2}; Are they equal? {x0 == x2}")
1704+
17041705
17051706
os.remove('test.csv')
17061707

0 commit comments

Comments
 (0)