-
-
Notifications
You must be signed in to change notification settings - Fork 18.5k
DOC: Add pip install odfpy
for io.rst
#50498
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Conversation
doc/source/user_guide/io.rst
Outdated
@@ -3833,7 +3833,7 @@ OpenDocument Spreadsheets | |||
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'``. | |||
``engine='odf'``. ``pip install odfpy`` may be required, if is not already installed. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
It's sufficient if you add a comment that users have to install the optional dependency oddly, pip install is not necessary.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I replaced it with a comment, and this time?
doc/source/user_guide/io.rst
Outdated
@@ -3840,6 +3840,7 @@ The :func:`~pandas.read_excel` method can read OpenDocument spreadsheets | |||
.. code-block:: python | |||
|
|||
# Returns a DataFrame | |||
# package 'odfpy' is required |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I would add The optional dependency 'odfpy' needs to be installed
in line 3836
thx @luke396 |
Fixes #50487
Perhaps because of my misunderstanding, adding 'pip install' here may not be consistent with the previous docs style. Because there is no direct instruction in the previous docs how to install the engine manually.