We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent c2dab1b commit 38d8ef5Copy full SHA for 38d8ef5
pandas/io/excel/_base.py
@@ -831,9 +831,9 @@ def _parse_sheet(
831
# create an index map from the without-skiprows to the
832
# original indexes.
833
if skiprows is None:
834
- ixmap = list(range(len(data)))
+ ixmap = range(len(data))
835
elif is_integer(skiprows):
836
- ixmap = list(range(skiprows, len(data)))
+ ixmap = range(skiprows, len(data))
837
elif is_list_like(skiprows):
838
skiprows_set = set(cast(Sequence[int], skiprows))
839
ixmap = [ix for ix in range(len(data)) if ix not in skiprows_set]
pandas/tests/io/data/excel/test_boolean_types.xlsx
1 Byte
0 commit comments