diff --git a/doc/source/user_guide/io.rst b/doc/source/user_guide/io.rst index b4bf3ef024d4c..53bcf6ffd7a8a 100644 --- a/doc/source/user_guide/io.rst +++ b/doc/source/user_guide/io.rst @@ -3827,22 +3827,28 @@ format of an Excel worksheet created with the ``to_excel`` method. Excellent ex OpenDocument Spreadsheets ------------------------- -.. versionadded:: 0.25 - -The :func:`~pandas.read_excel` method can also read OpenDocument spreadsheets -using the ``odfpy`` module. The semantics and features for reading +The io methods for `Excel files`_ also support reading and writing OpenDocument spreadsheets +using the `odfpy `__ module. The semantics and features for reading and writing OpenDocument spreadsheets match what can be done for `Excel files`_ using ``engine='odf'``. +.. versionadded:: 0.25 + +The :func:`~pandas.read_excel` method can read OpenDocument spreadsheets + .. code-block:: python # Returns a DataFrame pd.read_excel("path_to_file.ods", engine="odf") -.. note:: +.. versionadded:: 1.1.0 - Currently pandas only supports *reading* OpenDocument spreadsheets. Writing - is not implemented. +Similarly, the :func:`~pandas.to_excel` method can write OpenDocument spreadsheets + +.. code-block:: python + + # Writes DataFrame to a .ods file + df.to_excel("path_to_file.ods", engine="odf") .. _io.xlsb: