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` |