Skip to content

Commit b6b5628

Browse files
committed
Reword
1 parent 13acc20 commit b6b5628

File tree

6 files changed

+8
-5
lines changed

6 files changed

+8
-5
lines changed

doc/source/whatsnew/v1.4.0.rst

+1-1
Original file line numberDiff line numberDiff line change
@@ -231,7 +231,7 @@ Other enhancements
231231
- :meth:`UInt64Index.map` now retains ``dtype`` where possible (:issue:`44609`)
232232
- :meth:`read_json` can now parse unsigned long long integers (:issue:`26068`)
233233
- :meth:`DataFrame.take` now raises a ``TypeError`` when passed a scalar for the indexer (:issue:`42875`)
234-
- Add support for `Zstandard <http://facebook.github.io/zstd/>`_ compression to :meth:`DataFrame.to_pickle`/:meth:`read_pickle` and friends (:issue:`43925`)
234+
- Add support for `Zstandard <http://facebook.github.io/zstd/>`_ compression to :meth:`DataFrame.to_csv`/:meth:`read_csv` and other I/O methods (:issue:`43925`)
235235
-
236236

237237

pandas/core/shared_docs.py

+2-4
Original file line numberDiff line numberDiff line change
@@ -414,8 +414,7 @@
414414
``bz2.BZ2File``, or ``zstandard.ZstdDecompressor``, respectively. As an
415415
example, the following could be passed for faster compression and to create
416416
a reproducible gzip archive:
417-
``compression={'method': 'gzip', 'compresslevel': 1, 'mtime': 1}``.
418-
"""
417+
``compression={'method': 'gzip', 'compresslevel': 1, 'mtime': 1}``."""
419418

420419
_shared_docs[
421420
"decompression_options"
@@ -430,8 +429,7 @@
430429
``bz2.BZ2File``, or ``zstandard.ZstdDecompressor``, respectively. As an
431430
example, the following could be passed for Zstandard decompression using a
432431
custom compression dictionary:
433-
``compression={'method': 'zstd', 'dict_data': my_compression_dict}``.
434-
"""
432+
``compression={'method': 'zstd', 'dict_data': my_compression_dict}``."""
435433

436434
_shared_docs[
437435
"replace"

pandas/io/formats/xml.py

+1
Original file line numberDiff line numberDiff line change
@@ -76,6 +76,7 @@ class BaseXMLFormatter:
7676
7777
stylesheet : str or file-like
7878
A URL, file, file-like object, or a raw string containing XSLT.
79+
7980
{compression_options}
8081
8182
.. versionchanged:: 1.4.0 Zstandard support.

pandas/io/json/_json.py

+1
Original file line numberDiff line numberDiff line change
@@ -477,6 +477,7 @@ def read_json(
477477
.. versionchanged:: 1.2
478478
479479
``JsonReader`` is a context manager.
480+
480481
{decompression_options}
481482
482483
.. versionchanged:: 1.4.0 Zstandard support.

pandas/io/pickle.py

+1
Original file line numberDiff line numberDiff line change
@@ -139,6 +139,7 @@ def read_pickle(
139139
140140
.. versionchanged:: 1.0.0
141141
Accept URL. URL is not limited to S3 and GCS.
142+
142143
{decompression_options}
143144
144145
.. versionchanged:: 1.4.0 Zstandard support.

pandas/io/xml.py

+2
Original file line numberDiff line numberDiff line change
@@ -72,6 +72,7 @@ class _XMLFrameParser:
7272
stylesheet : str or file-like
7373
URL, file, file-like object, or a raw string containing XSLT,
7474
`etree` does not support XSLT but retained for consistency.
75+
7576
{decompression_options}
7677
7778
.. versionchanged:: 1.4.0 Zstandard support.
@@ -808,6 +809,7 @@ def read_xml(
808809
reference nodes of transformed XML document generated after XSLT
809810
transformation and not the original XML document. Only XSLT 1.0
810811
scripts and not later versions is currently supported.
812+
811813
{decompression_options}
812814
813815
.. versionchanged:: 1.4.0 Zstandard support.

0 commit comments

Comments
 (0)