Skip to content

Commit 857858d

Browse files
committed
Update readers.py
1 parent 79afdfe commit 857858d

File tree

1 file changed

+8
-8
lines changed

1 file changed

+8
-8
lines changed

pandas/io/parsers/readers.py

Lines changed: 8 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -969,7 +969,7 @@ def read_csv(
969969
``read_csv(..., skiprows=1000000, nrows=999999)``
970970
971971
na_values : Hashable, Iterable of Hashable or dict of {{Hashable : Iterable}},
972-
optional
972+
optional
973973
Additional strings to recognize as ``NA``/``NaN``. If ``dict``
974974
passed, specific
975975
per-column ``NA`` values. By default the following values
@@ -1082,7 +1082,7 @@ def read_csv(
10821082
Character used to denote the start and end of a quoted item. Quoted
10831083
items can include the ``delimiter`` and it will be ignored.
10841084
quoting : {{0 or csv.QUOTE_MINIMAL, 1 or csv.QUOTE_ALL,
1085-
2 or csv.QUOTE_NONNUMERIC, 3 or csv.QUOTE_NONE}}, default csv.QUOTE_MINIMAL
1085+
2 or csv.QUOTE_NONNUMERIC, 3 or csv.QUOTE_NONE}}, default csv.QUOTE_MINIMAL
10861086
Control field quoting behavior per ``csv.QUOTE_*`` constants. Default is
10871087
``csv.QUOTE_MINIMAL`` (i.e., 0) which implies that
10881088
only fields containing special
@@ -1553,8 +1553,8 @@ def read_table(
15531553
* To read rows 1,000,000 through 1,999,999:
15541554
``read_csv(..., skiprows=1000000, nrows=999999)``
15551555
1556-
na_values : Hashable, Iterable of Hashable or
1557-
dict of {{Hashable : Iterable}}, optional
1556+
na_values : Hashable, Iterable of Hashable or dict of {{Hashable : Iterable}},
1557+
optional
15581558
Additional strings to recognize as ``NA``/``NaN``.
15591559
If ``dict`` passed, specific
15601560
per-column ``NA`` values. By default the following values are interpreted as
@@ -1565,7 +1565,7 @@ def read_table(
15651565
Depending on whether ``na_values`` is passed in, the behavior is as follows:
15661566
15671567
* If ``keep_default_na`` is ``True``,
1568-
and ``na_values`` are specified, ``na_values``
1568+
and ``na_values`` are specified, ``na_values``
15691569
is appended to the default ``NaN`` values used for parsing.
15701570
* If ``keep_default_na`` is ``True``, and ``na_values`` are not specified, only
15711571
the default ``NaN`` values are used for parsing.
@@ -1588,8 +1588,8 @@ def read_table(
15881588
15891589
* ``bool``. If ``True`` -> try parsing the index.
15901590
* ``None``. Behaves like ``True`` if ``date_format`` is specified.
1591-
* ``list`` of ``int`` or names. e.g. If ``[1, 2, 3]`` ->
1592-
try parsing columns 1, 2, 3
1591+
* ``list`` of ``int`` or names.
1592+
e.g. If ``[1, 2, 3]`` -> try parsing columns 1, 2, 3
15931593
each as a separate date column.
15941594
15951595
If a column or index cannot be represented as an array of ``datetime``,
@@ -1666,7 +1666,7 @@ def read_table(
16661666
Character used to denote the start and end of a quoted item. Quoted
16671667
items can include the ``delimiter`` and it will be ignored.
16681668
quoting : {{0 or csv.QUOTE_MINIMAL, 1 or csv.QUOTE_ALL, 2 or
1669-
csv.QUOTE_NONNUMERIC, 3 or csv.QUOTE_NONE}}, default csv.QUOTE_MINIMAL
1669+
csv.QUOTE_NONNUMERIC, 3 or csv.QUOTE_NONE}}, default csv.QUOTE_MINIMAL
16701670
Control field quoting behavior per ``csv.QUOTE_*`` constants. Default is
16711671
``csv.QUOTE_MINIMAL`` (i.e., 0) which
16721672
implies that only fields containing special

0 commit comments

Comments
 (0)