File tree Expand file tree Collapse file tree 1 file changed +13
-7
lines changed Expand file tree Collapse file tree 1 file changed +13
-7
lines changed Original file line number Diff line number Diff line change @@ -3827,22 +3827,28 @@ format of an Excel worksheet created with the ``to_excel`` method. Excellent ex
38273827OpenDocument Spreadsheets
38283828-------------------------
38293829
3830- .. versionadded :: 0.25
3831-
3832- The :func: `~pandas.read_excel ` method can also read OpenDocument spreadsheets
3833- using the ``odfpy `` module. The semantics and features for reading
3830+ The io methods for `Excel files `_ also support reading and writing OpenDocument spreadsheets
3831+ using the `odfpy <https://pypi.org/project/odfpy/ >`__ module. The semantics and features for reading and writing
38343832OpenDocument spreadsheets match what can be done for `Excel files `_ using
38353833``engine='odf' ``.
38363834
3835+ .. versionadded :: 0.25
3836+
3837+ The :func: `~pandas.read_excel ` method can read OpenDocument spreadsheets
3838+
38373839.. code-block :: python
38383840
38393841 # Returns a DataFrame
38403842 pd.read_excel(" path_to_file.ods" , engine = " odf" )
38413843
3842- .. note ::
3844+ .. versionadded :: 1.1.0
38433845
3844- Currently pandas only supports *reading * OpenDocument spreadsheets. Writing
3845- is not implemented.
3846+ Similarly, the :func: `~pandas.to_excel ` method can write OpenDocument spreadsheets
3847+
3848+ .. code-block :: python
3849+
3850+ # Writes DataFrame to a .ods file
3851+ df.to_excel(" path_to_file.ods" , engine = " odf" )
38463852
38473853 .. _io.xlsb :
38483854
You can’t perform that action at this time.
0 commit comments