DataFrameColumn.SetName(String, DataFrame) Method

Definition

Updates the name of this column.

public void SetName (string newName, Microsoft.Data.Analysis.DataFrame dataFrame = default);
member this.SetName : string * Microsoft.Data.Analysis.DataFrame -> unit
Public Sub SetName (newName As String, Optional dataFrame As DataFrame = Nothing)

Parameters

newName
String

The new name.

dataFrame
DataFrame

If passed in, update the column name in Columns

Applies to