Input-Output iolib
¶
statsmodels
offers some functions for input and output. These include a
reader for STATA files, a class for generating tables for printing in several
formats and two helper functions for pickling.
Users can also leverage the powerful input/output functions provided by pandas.io. Among other things, pandas
(a statsmodels
dependency) allows reading and writing to Excel, CSV, and HDF5 (PyTables).
Examples¶
Module Reference¶
|
Stata .dta file reader. |
|
A class for writing Stata binary dta files from array-like objects |
|
Returns an ndarray or DataFrame from a Stata .dta file. |
|
Save an array to a text file. |
|
Produce a simple ASCII, CSV, HTML, or LaTeX table from a rectangular (2d!) array of data, not necessarily numerical. |
|
Return SimpleTable instance, created from the data in csvfile, which is in comma separated values format. |
|
Save the object to file via pickling. |
|
Load a previously saved object |
The following are classes and functions used to return the summary of estimation results, and mostly intended for internal use. There are currently two versions for creating summaries.
Result summary |
|
Methods |