Skip to content

Commit 7d74539

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

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
@@ -73,6 +73,7 @@ Other enhancements
7373
- Support passing a :class:`Iterable[Hashable]` input to :meth:`DataFrame.drop_duplicates` (:issue:`59237`)
7474
- Support reading Stata 102-format (Stata 1) dta files (:issue:`58978`)
7575
- Support reading Stata 110-format (Stata 7) dta files (:issue:`47176`)
76+
- Added :meth:`.Styler.to_typst` to write Styler objects to file, buffer or string in Typst format (:issue:`57617`)
7677

7778
.. ---------------------------------------------------------------------------
7879
.. _whatsnew_300.notable_bug_fixes:

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)