Skip to content

Commit 6f33ba0

Browse files
committed
Added type 'pathlib.Path' for excel_writer' argument of 'to_excel' method to documentation
1 parent b7e644c commit 6f33ba0

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

docs/api_documentation.rst

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -397,7 +397,7 @@ The `styleframe` module contains a single class `StyleFrame` which servers as th
397397
.. note:: ``to_excel`` also accepts all arguments that ``pandas.DataFrame.to_excel`` accepts as kwargs.
398398

399399
:param excel_writer: File path or existing ExcelWriter
400-
:type excel_writer: str or pandas.ExcelWriter
400+
:type excel_writer: str or pandas.ExcelWriter or pathlib.Path
401401
:param str sheet_name: Name of sheet the StyleFrame will be exported to
402402
:param bool allow_protection: Allow to protect the cells that specified as protected. If used ``protection=True``
403403
in a Styler object this must be set to `True`.

0 commit comments

Comments
 (0)