DataFrame.WithColumnRenamed(String, String) Metoda

Definice

Vrátí novou datovou sadu s přejmenovaným sloupcem. Toto je bez operace, pokud schéma neobsahuje existingName.

public Microsoft.Spark.Sql.DataFrame WithColumnRenamed(string existingName, string newName);
member this.WithColumnRenamed : string * string -> Microsoft.Spark.Sql.DataFrame
Public Function WithColumnRenamed (existingName As String, newName As String) As DataFrame

Parametry

existingName
String

Název existujícího sloupce

newName
String

Nový název sloupce, který se má nahradit

Návraty

Objekt Datového rámce

Platí pro