Skip to content

Commit 5146329

Browse files
committed
DOC: Update excel read dependency on xlrd
Since 98f65b1, ``xlrd`` handles reading both ``.xls`` and ``.xlsx`` Excel Files.
1 parent 99ae9ce commit 5146329

File tree

1 file changed

+2
-4
lines changed

1 file changed

+2
-4
lines changed

doc/source/io.rst

+2-4
Original file line numberDiff line numberDiff line change
@@ -1494,7 +1494,8 @@ any pickled pandas object (or any other pickled object) from file:
14941494
Excel files
14951495
-----------
14961496

1497-
The ``read_excel`` method can read an Excel 2003 file using the ``xlrd`` Python
1497+
The ``read_excel`` method can read Excel 2003 (``.xls``) and
1498+
Excel 2007 (``.xlsx``) files using the ``xlrd`` Python
14981499
module and use the same parsing code as the above to convert tabular data into
14991500
a DataFrame. See the :ref:`cookbook<cookbook.excel>` for some
15001501
advanced strategies
@@ -1516,9 +1517,6 @@ advanced strategies
15161517
15171518
read_excel('path_to_file.xls', 'Sheet1', index_col=None, na_values=['NA'])
15181519
1519-
To read sheets from an Excel 2007 file, you can pass a filename with a ``.xlsx``
1520-
extension, in which case the ``openpyxl`` module will be used to read the file.
1521-
15221520
It is often the case that users will insert columns to do temporary computations
15231521
in Excel and you may not want to read in those columns. `read_excel` takes
15241522
a `parse_cols` keyword to allow you to specify a subset of columns to parse.

0 commit comments

Comments
 (0)