Skip to content

Commit 058327c

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

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
@@ -31,6 +31,7 @@ Other enhancements
3131
- :class:`pandas.api.typing.FrozenList` is available for typing the outputs of :attr:`MultiIndex.names`, :attr:`MultiIndex.codes` and :attr:`MultiIndex.levels` (:issue:`58237`)
3232
- :class:`pandas.api.typing.SASReader` is available for typing the output of :func:`read_sas` (:issue:`55689`)
3333
- :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`)
34+
- Added :meth:`.Styler.to_typst` to write Styler objects to file, buffer or string in Typst format (:issue:`57617`)
3435
- :class:`pandas.api.typing.NoDefault` is available for typing ``no_default``
3536
- :func:`DataFrame.to_excel` now raises an ``UserWarning`` when the character count in a cell exceeds Excel's limitation of 32767 characters (:issue:`56954`)
3637
- :func:`pandas.merge` now validates the ``how`` parameter input (merge type) (:issue:`59435`)

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)