--- title: "columnRename" description: "Returns a view of the given dataset with the columns renamed." --- # columnRename > Returns a view of the given dataset with the columns renamed. **This function is used by Ignition's Expression language.** ## Description Returns a view of the given dataset with the columns renamed. The number of new names must match exactly with the existing column count. ## Syntax ` columnRename(dataset[, newName...])` - Parameters - DataSet **dataset** - The starting dataset. - string **newName** - Optional. Any number of new column names. The columns specified must match the number of columns in the original dataset. - Results - DataSet - A new dataset with new column names. ## Examples ```python title="Code Snippet" columnRename(twoColDataset, "colOne", "colTwo") // returns a Dataset with columns ["colOne", "colTwo"] ```