pgkyl evaluate

Usage: pgkyl evaluate [OPTIONS] CHAIN

  Evaluate an RPN expression over an explicit list of datasets.

  ``f``/``fN`` tokens in ``chain`` refer to ``datasets[N]`` (``f`` == ``f0``); see the
  module docstring for the token grammar. The result is built via
  ``datasets[0]._result(...)`` (so it stays the caller's concrete dataset class) and
  holds the single value left on top of the stack.

Positional arguments:
  CHAIN  the RPN expression, e.g. ``"f0 f1 +"`` or ``"f sq 2 *"``.

Arguments:
  CHAIN  the RPN expression, e.g. ``"f0 f1 +"`` or ``"f sq 2 *"``.

Options:
  -t, --tag TEXT    optional tag for the returned dataset (defaults to ``'default'``).
  -l, --label TEXT  optional label for the returned dataset (defaults to ``chain``).
  --help            Show this message and exit.

Python API