Skip to content

Commit

Permalink
DOC: Update versionadded for Styler.to_typst() to 3.0.0 in document…
Browse files Browse the repository at this point in the history
…ation
  • Loading branch information
3w36zj6 committed Feb 1, 2025
1 parent 10c6c8d commit 058327c
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 4 deletions.
5 changes: 2 additions & 3 deletions doc/source/whatsnew/v2.3.0.rst
Original file line number Diff line number Diff line change
Expand Up @@ -21,12 +21,11 @@ Upcoming changes in pandas 3.0
Enhancements
~~~~~~~~~~~~

.. _whatsnew_230.enhancements.styler:
.. _whatsnew_230.enhancements.enhancement1:

Styler
enhancement1
^^^^^^^^^^^^

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

.. _whatsnew_230.enhancements.other:

Expand Down
1 change: 1 addition & 0 deletions doc/source/whatsnew/v3.0.0.rst
Original file line number Diff line number Diff line change
Expand Up @@ -31,6 +31,7 @@ Other enhancements
- :class:`pandas.api.typing.FrozenList` is available for typing the outputs of :attr:`MultiIndex.names`, :attr:`MultiIndex.codes` and :attr:`MultiIndex.levels` (:issue:`58237`)
- :class:`pandas.api.typing.SASReader` is available for typing the output of :func:`read_sas` (:issue:`55689`)
- :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`)
- Added :meth:`.Styler.to_typst` to write Styler objects to file, buffer or string in Typst format (:issue:`57617`)
- :class:`pandas.api.typing.NoDefault` is available for typing ``no_default``
- :func:`DataFrame.to_excel` now raises an ``UserWarning`` when the character count in a cell exceeds Excel's limitation of 32767 characters (:issue:`56954`)
- :func:`pandas.merge` now validates the ``how`` parameter input (merge type) (:issue:`59435`)
Expand Down
2 changes: 1 addition & 1 deletion pandas/io/formats/style.py
Original file line number Diff line number Diff line change
Expand Up @@ -1266,7 +1266,7 @@ def to_typst(
"""
Write Styler to a file, buffer or string in Typst format.
.. versionadded:: 2.3.0
.. versionadded:: 3.0.0
Parameters
----------
Expand Down

0 comments on commit 058327c

Please sign in to comment.