4.5.2. statsmodels.iolib.foreign

Input/Output tools for working with binary data.

The Stata input tools were originally written by Joe Presbrey as part of PyDTA.

You can find more information here http://presbrey.mit.edu/PyDTA

4.5.2.1. See also

numpy.lib.io

4.5.2.2. Functions

genfromdta(fname[, missing_flt, encoding, ...]) Returns an ndarray or DataFrame from a Stata .dta file.
is_py3()
savetxt(fname, X[, names, fmt, delimiter]) Save an array to a text file.

4.5.2.3. Classes

StataReader(fname[, missing_values, encoding]) Stata .dta file reader.
StataWriter(fname, data[, convert_dates, ...]) A class for writing Stata binary dta files from array-like objects