Skip to content

Commit 6843884

Browse files
committed
Rebase
1 parent a06d2a0 commit 6843884

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

doc/source/user_guide/io.rst

+1-1
Original file line numberDiff line numberDiff line change
@@ -4033,7 +4033,7 @@ If 'infer', then use ``gzip``, ``bz2``, ``zip``, ``xz``, ``zstd`` if filename en
40334033
The compression parameter can also be a ``dict`` in order to pass options to the
40344034
compression protocol. It must have a ``'method'`` key set to the name
40354035
of the compression protocol, which must be one of
4036-
{``'zip'``, ``'gzip'``, ``'bz2'``, ``'zstd'``}. All other key-value pairs are passed to
4036+
{``'zip'``, ``'gzip'``, ``'bz2'``, ``'xz'``, ``'zstd'``}. All other key-value pairs are passed to
40374037
the underlying compression library.
40384038

40394039
.. ipython:: python

pandas/_typing.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -243,7 +243,7 @@ def closed(self) -> bool:
243243
# compression keywords and compression
244244
CompressionDict = Dict[str, Any]
245245
CompressionOptions = Optional[
246-
Union[Literal["infer", "gzip", "bz2", "zip", "xz"], CompressionDict]
246+
Union[Literal["infer", "gzip", "bz2", "zip", "xz", "zstd"], CompressionDict]
247247
]
248248

249249

0 commit comments

Comments
 (0)