Skip to content

0.2.0

Compare
Choose a tag to compare
@ticoneva ticoneva released this 10 Sep 17:01
· 42 commits to main since this release

Magics (Experimental)

Magics are commands that only work in pystata-kernel and are not part of Stata's syntax. Magics normally start with %, but this will cause errors when the notebook is exported and run as a Stata script. As an alternative, you can prefix the magic name with *%, which will simply be treated by Stata as a single-line comment.

pystata currently supports the following magics:

Magic Description Full Syntax
*%browse View dataset *%browse [-h] [N] [varlist] [if]
*%help Display a help file in rich text *%help [-h] command_or_topic_name