Please refer to the following methods of DataFrame:

  def withColumn(colName: String, col: Column): DataFrame = {

  def drop(colName: String): DataFrame = {

On Sun, Mar 20, 2016 at 2:47 PM, Ashok Kumar <[email protected]>
wrote:

> Gurus,
>
> I would like to read a csv file into a Data Frame but able to rename the
> column name, change a column type from String to Integer or drop the column
> from further analysis before saving data as parquet file?
>
> Thanks
>

Reply via email to