File tree 1 file changed +2
-4
lines changed
1 file changed +2
-4
lines changed Original file line number Diff line number Diff line change @@ -1494,7 +1494,8 @@ any pickled pandas object (or any other pickled object) from file:
1494
1494
Excel files
1495
1495
-----------
1496
1496
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
1498
1499
module and use the same parsing code as the above to convert tabular data into
1499
1500
a DataFrame. See the :ref: `cookbook<cookbook.excel> ` for some
1500
1501
advanced strategies
@@ -1516,9 +1517,6 @@ advanced strategies
1516
1517
1517
1518
read_excel(' path_to_file.xls' , ' Sheet1' , index_col = None , na_values = [' NA' ])
1518
1519
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
-
1522
1520
It is often the case that users will insert columns to do temporary computations
1523
1521
in Excel and you may not want to read in those columns. `read_excel ` takes
1524
1522
a `parse_cols ` keyword to allow you to specify a subset of columns to parse.
You can’t perform that action at this time.
0 commit comments