Most Important Question of PySpark in LTIMindTree Interview Question | Salary in each department |
Vložit
- čas přidán 7. 09. 2024
- data=[('Genece' , 2 , 75000),
('𝗝𝗮𝗶𝗺𝗶𝗻' , 2 , 80000 ),
('𝗣𝗮𝗻𝗸𝗮𝗷' , 2 , 80000 ),
('Tarvares' , 2 , 70000),
('Marlania' , 4 , 70000),
('Briana' , 4 , 85000),
('𝗞𝗶𝗺𝗯𝗲𝗿𝗹𝗶' , 4 , 55000),
('𝗚𝗮𝗯𝗿𝗶𝗲𝗹𝗹𝗮' , 4 , 55000),
('Lakken', 5, 60000),
('Latoynia' , 5 , 65000) ]
schema="emp_name string,dept_id int,salary int"
df=spark.createDataFrame(data,schema)
Databricks-PySpark RealTime Scenarios Interview Question Series
www.geekcoders...
Project Link:
www.geekcoders...
#hashtags
#tags #pysparkinterview #pysparkforbeginners
This is really very helpful video content. Please keep it up
we can use first_value & last_value analytical functions to get this
Great
Hi @GeekCoders,
Do you have complete project and end to end course on Pyspark and Databricks?
Please check this: www.geekcoders.co.in/courses/Build-Real-Time-DeltaLake-Project--using-PySpark-and-Spark-SQL-with-Databricks-64a0af30e4b0f71237fa1bf3-64a0af30e4b0f71237fa1bf3