Great fan of the pystata addition to Stata17 for .ipynb
However, I am a bit irritated by the fact that single '%' does not support arguments to commands like the double '%%' cell magic does.
E.g.
%stata -d myDataFrame
throws r(199): - is not a valid command name., whilst
%%stata -d myDataFrame
works perfectly fine.
What's the reason behind this?
Related Posts with pystata %stata line magic does not accept '-' arguments
Who do people rescale a weight variable?Dear all, I have a question on rescaling/transforming a variable, particularly a weight variable. I…
How to refer to specific pairs of observations-variables using locals, ex: "`=price[make == "AMC Concord"]'"Dear all, I was trying to automate the creation of a two-sided bar graph and then realized that the…
Peer firm averageHi, I have a panel data (firm-year level). Anyone knows how to construct Peer firm average, which i…
Data visualization - How to break a label on tline into multiple lines?Hello, Please see my current graph. I would like to split the "Arab Spring" label in two lines M…
Generating week IDs based on fiscal yearsI am quite new to stata and struggling to generate weeks based on fiscal year start and end dates. S…
Subscribe to:
Post Comments (Atom)
0 Response to pystata %stata line magic does not accept '-' arguments
Post a Comment