PySpark When Otherwise | SQL Case When Usage
PySpark When Otherwise and SQL Case When on DataFrame with Examples - Similar to SQL…
0 Comments
August 15, 2020
PySpark When Otherwise and SQL Case When on DataFrame with Examples - Similar to SQL…
Like SQL "case when" statement and Swith statement from popular programming languages, Spark SQL Dataframe also supports similar syntax using "when otherwise" or we can also use "case when" statement.