Create a spark dataframe from sample data
Requirement: You have sample data of some students and you want to create a dataframe to perform some operations. Given: Sample data: 101, “alex”,88.56 102, “john”,68.32 103, “peter”,75.62 104, “jeff”,92.67 105, “mathew”,89.56 106, “alan”,72.57 107, “steve”,96.12 108, “mark”,98.45 109, “adam”,76.25 109, “david”,78.45 Solution: Step 1: go to spark shell useRead More →