Skip to content

Releases: ticoneva/pystata-kernel

0.3.2

29 Feb 04:47
Compare
Choose a tag to compare

Bug fixes:

  • No longer install configuration file in custom prefix. #25
  • Browse magic now works when only the in range is specified. #12

0.3.1

04 Sep 11:05
Compare
Choose a tag to compare
  • Drop the temporary Stata program temp_pystata_kernel_program_name before its creation. This fixes the program temp_pystata_kernel_program_name already defined r(110); error.

0.3.0

19 Jan 15:05
Compare
Choose a tag to compare
  • Ported the new error handling mechanism from nbstata.
  • Better handling of delimited (PR #21).
  • New magics %noecho and %quietly.

0.2.4

08 Oct 06:35
Compare
Choose a tag to compare
  • New configuration option missing controls what should be displayed in the output of the *%browse magic for a missing value. Default is '.', following Stata. To defer to pandas' format for NA, specify 'pandas'.
  • The SelVar class now uses Stata's tempvar mechanism to create the temporary variable it needs.

0.2.3

16 Sep 18:45
Compare
Choose a tag to compare

*%browse magic improvements:

  • New in range option. Syntax is the same as in Stata.
  • Bug fix: variables with missing values are no longer displayed as floats.

0.2.1

11 Sep 09:12
Compare
Choose a tag to compare

*%browse now correctly display missing values. Previously missing values were displayed as a very large float.

0.2.0

10 Sep 17:01
Compare
Choose a tag to compare

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

0.1.21

15 Aug 16:11
Compare
Choose a tag to compare
  1. New options splash controls display of the splash message during Stata startup. Only works on pystata 0.1.1 or above.
  2. echo = None will suppress all commands.
  3. Corrected path detection on MacOS.
  4. Added packaging to requirement.

0.1.18

11 Aug 20:36
Compare
Choose a tag to compare
  1. Updated KernelSpecManager() call. Installation should no longer show the deprecation warning seen in previous versions.
  2. Added echo = False to generated configuration file.

0.1.17

11 Aug 15:58
Compare
Choose a tag to compare

Added a new option echo. If set to True in the configuration file, the kernel will echo the command while running a cell with only a single command. This setting has no effect on cells containing multiple commands. Default is False.