Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add docs about using as alternative to 'stata_setup' package #41

Open
hugetim opened this issue Oct 6, 2023 · 1 comment
Open

Add docs about using as alternative to 'stata_setup' package #41

hugetim opened this issue Oct 6, 2023 · 1 comment
Labels
documentation Improvements or additions to documentation

Comments

@hugetim
Copy link
Owner

hugetim commented Oct 6, 2023

Add something about this to the User Guide, and maybe also about other 'nbstata` utilities that may be helpful when working in a Python notebook:

When you want to use Stata within a Python notebook (as opposed to a Stata notebook), 'nbstata' provides a convenient way to load Stata so that the %%stata magic will work. For most users (when a config file is not needed to locate the Stata directory), the following lines will do it:

import nbstata
nbstata.launch_stata()

Compare Method 1 in the official pystata docs. (All the methods suggested by Stata require you to type out the Stata directory and edition in the code to initialize pystata.)

@hugetim hugetim added the documentation Improvements or additions to documentation label Oct 6, 2023
@hugetim
Copy link
Owner Author

hugetim commented Nov 20, 2024

Other 'nbstata' utilities of potential interest to pystata users:

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
documentation Improvements or additions to documentation
Projects
None yet
Development

No branches or pull requests

1 participant