Skip to content
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.

Commit 21e00d9

Browse files
committedApr 9, 2024
Compare version number inclusively when determining whether to use old or new typlist version
1 parent 2ab8fda commit 21e00d9

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed
 

‎pandas/io/stata.py

Lines changed: 1 addition & 1 deletion
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)
Please sign in to comment.