Skip to content

Commit dfc457c

Browse files
[pre-commit.ci] auto fixes from pre-commit.com hooks
for more information, see https://pre-commit.ci
1 parent 8b676e8 commit dfc457c

File tree

2 files changed

+2
-1
lines changed

2 files changed

+2
-1
lines changed

doc/source/whatsnew/v3.0.0.rst

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -161,8 +161,8 @@ Other enhancements
161161
:func:`pandas.concat`.
162162
- :class:`pandas.api.typing.FrozenList` is available for typing the outputs of :attr:`MultiIndex.names`, :attr:`MultiIndex.codes` and :attr:`MultiIndex.levels` (:issue:`58237`)
163163
- :class:`pandas.api.typing.SASReader` is available for typing the output of :func:`read_sas` (:issue:`55689`)
164-
- Added functionality to support saving json without escaping forward slashes by adding to :meth:`DataFrame.to_json` (:issue:`61442`)
165164
- Added :meth:`.Styler.to_typst` to write Styler objects to file, buffer or string in Typst format (:issue:`57617`)
165+
- Added functionality to support saving json without escaping forward slashes by adding to :meth:`DataFrame.to_json` (:issue:`61442`)
166166
- Added missing :meth:`pandas.Series.info` to API reference (:issue:`60926`)
167167
- :class:`pandas.api.typing.NoDefault` is available for typing ``no_default``
168168
- :func:`DataFrame.to_excel` now raises an ``UserWarning`` when the character count in a cell exceeds Excel's limitation of 32767 characters (:issue:`56954`)

pandas/io/json/_json.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -137,6 +137,7 @@ def to_json(
137137
escape_forward_slashes: bool | True = ...,
138138
) -> str: ...
139139

140+
140141
def to_json(
141142
path_or_buf: FilePath | WriteBuffer[str] | WriteBuffer[bytes] | None,
142143
obj: NDFrame,

0 commit comments

Comments
 (0)