Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
20 changes: 13 additions & 7 deletions doc/source/user_guide/io.rst
Original file line number Diff line number Diff line change
Expand Up @@ -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 <https://pypi.org/project/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:

Expand Down