day 6 | fill null values | pyspark scenario based interview questions and answers

preview_player
Показать описание
fill null values
pyspark scenario based interview questions and answers

Create DataFrame Code :
=====================
job_skills_data = [
(1, 'Data Engineer', 'SQL'),
(2, None, 'Python'),
(3, None, 'AWS'),
(4, None, 'Snowflake'),
(5, None, 'Apache Spark'),
(6, 'Web Developer', 'Java'),
(7, None, 'HTML'),
(8, None, 'CSS'),
(9, 'Data Scientist', 'Python'),
(10, None, 'Machine Learning'),
(11, None, 'Deep Learning'),
(12, None, 'Tableau')
]

job_skills_schema = "row_id int , job_role string , skills string"

#interview #spark #pyspark
Рекомендации по теме
Комментарии
Автор

Hi Dhiraj, what happened to this series? Why videos are not coming?

atharvjoshi
Автор

Hello Deraj, nice solution am follower your channel,
in above question i have one question, all null values you marked as data engineer for group1 and web-developer for group 2
so my doubt if let say, for all null values, we can mark as example python developer and java-developer and aws- developer like think this, i answer please provide
thanks your are doing great works

fkjjmgq