We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent a5410c1 commit 28fb8ddCopy full SHA for 28fb8dd
doc/source/user_guide/io.rst
@@ -1696,7 +1696,7 @@ The conversion process is not always guaranteed to be accurate because small dif
1696
df1.to_csv('test.csv', float_format='%.17g')
1697
df2 = pd.read_csv('test.csv', index_col=0, float_precision='round_trip')
1698
1699
- x1 = df1['One'][0]
+ x1 = df1.iloc[0, 0]
1700
x2 = df2['One'][0]
1701
1702
print("x0 = %f; x1 = %f; Are they equal? %s" % (x0, x1, (x0 == x1)))
0 commit comments