.. _auto_dataset_sanitize_column_names: *DATASET SANITIZE COLUMN NAMES* =============================== Sanitizes all column names in a dataset by stripping or replacing invalid characters (spaces, special symbols, etc.) to produce clean, code-safe identifiers. Use this worker before passing a dataset into downstream ML or analysis workers that require well-formed column names. When to use ----------- Classification: **process**. Tagged: ``"``, ``_``, ``a``, ``c``, ``d``, ``e``, ``f``, ``g``. Inputs ------ .. list-table:: :header-rows: 1 :widths: 20 20 20 20 20 20 * - Label - ID - Type - Default - Required - Description * - Dataset - dataset_1 - dataset - — - - Input dataset whose column names need sanitizing; accepts any tabular dataset — leave unconnected if the dataset will be injected at runtime. Outputs ------- .. list-table:: :header-rows: 1 :widths: 20 20 20 20 * - Label - ID - Type - Description * - dataset_sanitize_columns_output_1 - dataset_sanitize_column_output_1 - dataset - Output dataset identical in rows and data to the input but with all column names replaced by sanitized, code-safe identifiers. Disciplines ----------- - data.dataset.transform Runnable example ---------------- A runnable example is registered for this worker. Open the example workflow on the d3VIEW canvas: `/api/workflow/example?id=dataset_sanitize_column_names `_ .. raw:: html

Auto-generated from transformation schema. Worker id: dataset_sanitize_column_names. Schema hash: af8ddfad252c. Hand-curated docs in workerexamples/ override this page when present.