ConstString / New Layer

Create a new column filled with a constant string value. Similar to pandas.Series with a string constant or dplyr's mutate with constant text. Useful for adding categorical labels, metadata, or constant text identifiers to your dataset.

Table
0
0
Table

Value

string

The string Value to fill the column with. Common uses include:

  • Category labels (e.g., Active, Pending)
  • Group identifiers (e.g., Control Group, Test Group)
  • Constant tags or annotations
  • Default text values

Name for the new column. If not provided, the system generates a unique name. If AsColumn matches an existing column, the existing column is replaced. The name should follow valid column naming conventions.