EconPapers    
Economics at your fingertips  
 

Call Stata from Python

Zhao Xu
Additional contact information
Zhao Xu: StataCorp

2020 Stata Conference from Stata Users Group

Abstract: Stata 16 introduced tight integration with Python, allowing users to embed and execute Python code from within Stata. In this talk, I will demonstrate new functionality we have been working on—calling Stata from within Python. We are working on providing two ways to let users interact with Stata from within Python: the IPython magic commands and a suite of API functions. With those utilities, you will be able to run Stata conveniently from Python environments, such as Jupyter Notebook/console, Jupyter Lab/console, Spyder IDE, or Python launched from a Windows Command Prompt, Unix terminal, etc.

Date: 2020-08-20
References: Add references at CitEc
Citations:

Downloads: (external link)
https://www.stata.com/meeting/us20/slides/us20_Zhao_Xu.html

Related works:
This item may be available elsewhere in EconPapers: Search for items with the same title.

Export reference: BibTeX RIS (EndNote, ProCite, RefMan) HTML/Text

Persistent link: https://EconPapers.repec.org/RePEc:boc:scon20:8

Access Statistics for this paper

More papers in 2020 Stata Conference from Stata Users Group Contact information at EDIRC.
Bibliographic data for series maintained by Christopher F Baum ().

 
Page updated 2025-03-19
Handle: RePEc:boc:scon20:8