Skip to content

Commit 52bee29

Browse files
committed
DOC: Update versionadded for Styler.to_typst() to 3.0.0 in documentation
1 parent 10c6c8d commit 52bee29

File tree

3 files changed

+4
-4
lines changed

3 files changed

+4
-4
lines changed

doc/source/whatsnew/v2.3.0.rst

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -21,12 +21,11 @@ Upcoming changes in pandas 3.0
2121
Enhancements
2222
~~~~~~~~~~~~
2323

24-
.. _whatsnew_230.enhancements.styler:
24+
.. _whatsnew_230.enhancements.enhancement1:
2525

26-
Styler
26+
enhancement1
2727
^^^^^^^^^^^^
2828

29-
- The :meth:`.Styler.to_typst` function has been added to write Styler to a file, buffer or string in Typst format (:issue:`57617`)
3029

3130
.. _whatsnew_230.enhancements.other:
3231

doc/source/whatsnew/v3.0.0.rst

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -28,6 +28,7 @@ Enhancement2
2828

2929
Other enhancements
3030
^^^^^^^^^^^^^^^^^^
31+
- Added :meth:`.Styler.to_typst` to write Styler objects to file, buffer or string in Typst format (:issue:`57617`)
3132
- :class:`pandas.api.typing.FrozenList` is available for typing the outputs of :attr:`MultiIndex.names`, :attr:`MultiIndex.codes` and :attr:`MultiIndex.levels` (:issue:`58237`)
3233
- :class:`pandas.api.typing.SASReader` is available for typing the output of :func:`read_sas` (:issue:`55689`)
3334
- :meth:`pandas.api.interchange.from_dataframe` now uses the `PyCapsule Interface <https://arrow.apache.org/docs/format/CDataInterface/PyCapsuleInterface.html>`_ if available, only falling back to the Dataframe Interchange Protocol if that fails (:issue:`60739`)

pandas/io/formats/style.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1266,7 +1266,7 @@ def to_typst(
12661266
"""
12671267
Write Styler to a file, buffer or string in Typst format.
12681268
1269-
.. versionadded:: 2.3.0
1269+
.. versionadded:: 3.0.0
12701270
12711271
Parameters
12721272
----------

0 commit comments

Comments
 (0)