Skip to content

Commit 95fedc0

Browse files
committed
Fix documentation for new float_precision on read_csv
1 parent 8df0218 commit 95fedc0

File tree

1 file changed

+5
-3
lines changed

1 file changed

+5
-3
lines changed

pandas/io/parsers.py

+5-3
Original file line numberDiff line numberDiff line change
@@ -342,6 +342,7 @@
342342
`legacy` for the original lower precision pandas converter, and
343343
`round_trip` for the round-trip converter.
344344
345+
.. versionchanged:: 1.2
345346
Returns
346347
-------
347348
DataFrame or TextParser
@@ -2281,9 +2282,10 @@ def TextParser(*args, **kwds):
22812282
can be inferred, there often will be a large parsing speed-up.
22822283
float_precision : str, optional
22832284
Specifies which converter the C engine should use for floating-point
2284-
values. The options are None for the ordinary converter,
2285-
'high' for the high-precision converter, and 'round_trip' for the
2286-
round-trip converter.
2285+
values. The options are `None` or `high` for the ordinary converter,
2286+
`legacy` for the original lower precision pandas converter, and
2287+
`round_trip` for the round-trip converter.
2288+
22872289
.. versionchanged:: 1.2
22882290
"""
22892291
kwds["engine"] = "python"

0 commit comments

Comments
 (0)