DataFrame.WithColumnRenamed(String, String) 方法
定義
重要
部分資訊涉及發行前產品,在發行之前可能會有大幅修改。 Microsoft 對此處提供的資訊,不做任何明確或隱含的瑕疵擔保。
傳回已重新命名資料行的新資料集。
如果架構不包含 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 物件