Some functions for input and output.
This contains a reader for STATA files, a class for generating tables for printing in several formats and two helper functions for pickling.
foreign.StataReader(fname[, missing_values, ...]) | Stata .dta file reader. |
foreign.genfromdta(fname[, missing_flt, ...]) | Returns an ndarray from a Stata .dta file. |
foreign.savetxt(fname, X[, names, fmt, ...]) | Save an array to a text file. |
table.SimpleTable(data[, headers, stubs, ...]) | Produce a simple ASCII, CSV, HTML, or LaTeX table from a rectangular (2d!) array of data, not necessarily numerical. |
table.csv2st(csvfile[, headers, stubs, title]) | Return SimpleTable instance, created from the data in csvfile, which is in comma separated values format. |
smpickle.save_pickle(obj, fname) | Save the object to file via pickling. |
smpickle.load_pickle(fname) | Load a previously saved object from file |