We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 82257b9 commit efd6b9bCopy full SHA for efd6b9b
pandas/core/generic.py
@@ -3091,6 +3091,8 @@ def to_csv(
3091
Specifies how encoding and decoding errors are to be handled.
3092
See the errors argument for :func:`open` for a full list
3093
of options.
3094
+
3095
+ .. versionadded:: 1.1.0
3096
compression : str or dict, default 'infer'
3097
If str, represents compression mode. If dict, value at 'method' is
3098
the compression mode. Compression mode may be any of the following
pandas/io/common.py
@@ -352,7 +352,6 @@ def get_handle(
352
353
354
.. versionadded:: 1.1.0
355
-
356
compression : str or dict, default None
357
If string, specifies compression mode. If dict, value at key 'method'
358
specifies compression mode. Compression mode must be one of {'infer',
0 commit comments