Skip to main content
Version: Python

Strings

String values can be represented in Deephaven query strings by using backticks `.

Syntax

`string`

Usage

Filter

The following example shows a query string used to filter data. This query string returns items in the Value column that are equal to the string `C`.

from deephaven import new_table
from deephaven.column import string_col

source = new_table([string_col("Value", ["A", "B", "C", "D", "E"])])

result = source.where(filters=["Value = `C`"])