Execute the X-function
XF(name,arg)
0 for success.
EX1
import PyOrigin PyOrigin.XF('colstats', {'irng':'<active>'})
EX2
You can skip typing "{}" when no parameters need to be set. Assuming you want to calculate descriptive statistics for 3 columns, you can just highlight the 3 columns, then run the Python Script Below:
import PyOrigin PyOrigin.XF("colstats")
You can set the recalculate mode after executing X function by syntax below:
PyOrigin.XF("X-function name",{},"-r mode") # mode: 0=None, 1=Auto, 2=Manual
For example,
import PyOrigin PyOrigin.XF("colstats",{},"-r 1") # mode=Auto