diff --git a/pandas/io/stata.py b/pandas/io/stata.py index 5860aa4ae7c3e2..269dd169cdeaac 100644 --- a/pandas/io/stata.py +++ b/pandas/io/stata.py @@ -1725,7 +1725,7 @@ def read( # If index is not specified, use actual row number rather than # restarting at 0 for each chunk. if index_col is None: - rng = np.arange(self._lines_read - read_lines, self._lines_read) + rng = range(self._lines_read - read_lines, self._lines_read) data.index = Index(rng) # set attr instead of set_index to avoid copy if columns is not None: