Skip to content

Commit 524c28b

Browse files
committed
Compare version number inclusively when determining whether to use old or new typlist version
1 parent 605924b commit 524c28b

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

pandas/io/stata.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -1408,7 +1408,7 @@ def _read_old_header(self, first_char: bytes) -> None:
14081408
self._time_stamp = self._get_time_stamp()
14091409

14101410
# descriptors
1411-
if self._format_version > 110:
1411+
if self._format_version >= 111:
14121412
typlist = [int(c) for c in self._path_or_buf.read(self._nvar)]
14131413
else:
14141414
buf = self._path_or_buf.read(self._nvar)

0 commit comments

Comments
 (0)