MCPcopy
hub / github.com/pandas-dev/pandas / _get_varlist

Method _get_varlist

pandas/io/stata.py:1251–1254  ·  view source on GitHub ↗
(self)

Source from the content-addressed store, hash-verified

1249 return typlist, dtyplist # type: ignore[return-value]
1250
1251 def _get_varlist(self) -> list[str]:
1252 # 33 in order formats, 129 in formats 118 and 119
1253 b = 33 if self._format_version < 118 else 129
1254 return [self._decode(self._path_or_buf.read(b)) for _ in range(self._nvar)]
1255
1256 # Returns the format list
1257 def _get_fmtlist(self) -> list[str]:

Callers 1

_read_new_headerMethod · 0.95

Calls 2

_decodeMethod · 0.95
readMethod · 0.45

Tested by

no test coverage detected