Skip to content

Commit 28fb8dd

Browse files
Update doc/source/user_guide/io.rst
Co-authored-by: William Ayd <william.ayd@icloud.com>
1 parent a5410c1 commit 28fb8dd

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

doc/source/user_guide/io.rst

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1696,7 +1696,7 @@ The conversion process is not always guaranteed to be accurate because small dif
16961696
df1.to_csv('test.csv', float_format='%.17g')
16971697
df2 = pd.read_csv('test.csv', index_col=0, float_precision='round_trip')
16981698
1699-
x1 = df1['One'][0]
1699+
x1 = df1.iloc[0, 0]
17001700
x2 = df2['One'][0]
17011701
17021702
print("x0 = %f; x1 = %f; Are they equal? %s" % (x0, x1, (x0 == x1)))

0 commit comments

Comments
 (0)