Skip to content

Commit a7f0b38

Browse files
committed
to_json
1 parent e6b2c09 commit a7f0b38

File tree

1 file changed

+3
-2
lines changed

1 file changed

+3
-2
lines changed

pandas/core/generic.py

+3-2
Original file line numberDiff line numberDiff line change
@@ -2061,9 +2061,10 @@ def to_json(self, path_or_buf=None, orient=None, date_format=None,
20612061
20622062
.. versionadded:: 0.19.0
20632063
compression : {'infer', 'gzip', 'bz2', 'zip', 'xz', None},
2064-
default 'infer'
2064+
20652065
A string representing the compression to use in the output file,
2066-
only used when the first argument is a filename.
2066+
only used when the first argument is a filename. By default, the
2067+
compression is inferred from the filename.
20672068
20682069
.. versionadded:: 0.21.0
20692070
.. versionchanged:: 0.24.0

0 commit comments

Comments
 (0)