Stata’s Python API documentation

The Stata Function Interface (sfi) module allows users to interact Python’s capabilities with core features of Stata. The module can be used interactively or in do-files and ado-files.

Within the module, classes are defined to provide access to Stata’s characteristics, current dataset, frames, date and time, macros, scalars, matrices, value labels, global Mata matrices, missing values, etc.

Class Summary

Exception Summary

Indices and tables