Class 14 - Spark Data Frames - Processing data using Data Frame APIs

preview_player
Показать описание
As part of this session I have covered overview of important string and date manipulation functions.

Date Functions: current_date, current_timestamp, date_add, date_sub, add_months, datediff, year, month, dayofyear, dayofmonth, dayofweek, trunc, date_trunc, date_format, from_unixtime, unix_timestamp

String Manipulation Functions: substring, split, lower, upper, initcap, trim, rtrim, ltrim, lpad, rpad, length, regexp_replace, translate

Connect with me or follow me at
Рекомендации по теме
Комментарии
Автор

You forgot end at the last for me it worked df.withColumn('res', expr("case when clr ='red' then 0 when clr='Green' then 1 else 3 end")).show()

pankajdubey
Автор

Sir can u please share me earlier videos linked pls

subramanyammani
welcome to shbcf.ru