Skip to content

Commit a9eed16

Browse files
committed
DOC: actually document float_precision in read_csv
[ci skip]
1 parent b722222 commit a9eed16

File tree

2 files changed

+9
-0
lines changed

2 files changed

+9
-0
lines changed

doc/source/io.rst

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -269,6 +269,10 @@ thousands : str, default ``None``
269269
Thousands separator.
270270
decimal : str, default ``'.'``
271271
Character to recognize as decimal point. E.g. use ``','`` for European data.
272+
float_precision : string, default None
273+
Specifies which converter the C engine should use for floating-point values.
274+
The options are ``None`` for the ordinary converter, ``high`` for the
275+
high-precision converter, and ``round_trip`` for the round-trip converter.
272276
lineterminator : str (length 1), default ``None``
273277
Character to break file into lines. Only valid with C parser.
274278
quotechar : str (length 1)

pandas/io/parsers.py

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -183,6 +183,11 @@
183183
Thousands separator
184184
decimal : str, default '.'
185185
Character to recognize as decimal point (e.g. use ',' for European data).
186+
float_precision : string, default None
187+
Specifies which converter the C engine should use for floating-point
188+
values. The options are `None` for the ordinary converter,
189+
`high` for the high-precision converter, and `round_trip` for the
190+
round-trip converter.
186191
lineterminator : str (length 1), default None
187192
Character to break file into lines. Only valid with C parser.
188193
quotechar : str (length 1), optional

0 commit comments

Comments
 (0)