rename_node

Rename a Pipeline Node

Renames a single node and rewires all dependency edges that referenced the old name to the new name. This is the canonical way to resolve name collisions before set operations.

Parameters

Returns

A new pipeline with the node renamed.

Examples

p |> rename_node("model_r", "model_r_v2")

See Also

filter_node, mutate_node