def demo_implicit(): print("Running Implicit Demo.") size_imp = 42 global hello_imp hello_imp = TableTools.emptyTable(size_imp) global world_imp world_imp = TableTools.timeTable("00:00:01")
def demo_app(app: ApplicationState): print("Running Strict App Demo.") size = 42 app.setField("hello", TableTools.emptyTable(size)) app.setField("world", TableTools.timeTable("00:00:01"))
from deephaven import TableTools # Use QueryScope! Careful; this leaks into the REPL state! size_qs = 42 hello_qs = TableTools.emptyTable(size_qs) world_qs = TableTools.timeTable("00:00:01")