Hi I want to run python codes on the current variables of Stata using PyStata.
For example:
Version: 17
For example:
- set obs 5
- gen a = _n
- python
- a
- end
- python
- a = [1, 2, 3, 4, 5]
- a
- end
Version: 17