DataFrame.WithColumnRenamed(String, String) メソッド

定義

列の名前が変更された新しいデータセットを返します。 スキーマに が含 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

パラメーター

existingName
String

既存の列名

newName
String

置き換える新しい列名

戻り値

DataFrame オブジェクト

適用対象