DATASET TRIM COLUMN NAMES AND VALUES

Strips leading and trailing whitespace from all column names and string values in a dataset. Use this worker to clean datasets that contain padded or inconsistently formatted headers and text fields before downstream processing or analysis.

When to use

Classification: process.

Tagged: clean, column_names, dataset, preprocessing, string_values, trim, whitespace.

Inputs

Label ID Type Default Required Description
Choose Dataset dataset_1 dataset   Input dataset whose column names and string cell values will be trimmed of leading/trailing whitespace; accepts any tabular dataset — leave empty if the dataset is piped in from an upstream worker.

Outputs

Label ID Type Description
dataset_trim_column_names_and_values_output_1 dataset_trim_column_names_and_values_output_1 dataset Cleaned dataset identical in structure to the input but with all column headers and string values stripped of surrounding whitespace.

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_trim_column_names_and_values


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