We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent bc26166 commit 73bde44Copy full SHA for 73bde44
pandas/io/stata.py
@@ -1725,7 +1725,7 @@ def read(
1725
# If index is not specified, use actual row number rather than
1726
# restarting at 0 for each chunk.
1727
if index_col is None:
1728
- rng = np.arange(self._lines_read - read_lines, self._lines_read)
+ rng = range(self._lines_read - read_lines, self._lines_read)
1729
data.index = Index(rng) # set attr instead of set_index to avoid copy
1730
1731
if columns is not None:
0 commit comments