Загрузка...

17. Consecutive days PySpark interview question | Data Engineer interview

#dataengineerinterview #dataengineering #pysparkinterview

Find customers who have placed orders on consecutive days
Consecutive days PySpark interview question | Data Engineer interview

Want more similar videos- hit like, comment, share and subscribe

❤️Do Like, Share and Comment ❤️
❤️ Like Aim 5000 likes! ❤️

➖➖➖➖➖➖➖➖➖➖➖➖➖
Please like & share the video.
➖➖➖➖➖➖➖➖➖➖➖➖➖
script

data = [
(1, '2024-10-01'),
(1, '2024-10-02'),
(1, '2024-10-04'),
(2, '2024-10-03'),
(2, '2024-10-05'),
(3, '2024-10-01'),
(3, '2024-10-02'),
(3, '2024-10-03'),
]

# Create DataFrame
df = spark.createDataFrame(data, ["customer_id", "order_date"])
df.display()
➖➖➖➖➖➖➖➖➖➖➖➖➖
AWS DATA ENGINEER : https://www.youtube.com/playlist?list=PLOlK8ytA0MghpdMjb0m9zu1v9s_qbRP0q

Azure data factory :
https://youtube.com/playlist?list=PLOlK8ytA0MgguN5XidtQXbILxwCdJCUJE&si=iEICXHP80zGchUYh

Azure data engineer playlist : https://youtube.com/playlist?list=PLOlK8ytA0MghBrzu0i6WlTBdoO1WdwV_e

SQL PLAYLIST : https://www.youtube.com/playlist?list=PLOlK8ytA0MggGXIKmbfZ-_Xqcos3JKdV-

PYSPARK PLAYLIST -
https://www.youtube.com/playlist?list=PLOlK8ytA0MgjvOpd-088NRU_vTYw_aryH

➖➖➖➖➖➖➖➖➖➖➖➖➖
📣Want to connect with me? Check out these links:📣

Join telegram to discuss https://t.me/+Cb98j1_fnZs3OTA1

➖➖➖➖➖➖➖➖➖➖➖➖➖
what we have covered in this video:
➖➖➖➖➖➖➖➖➖➖➖➖➖

Hope you liked this video and learned something new :)
See you in next video, until then Bye-Bye!

➖➖➖➖➖➖➖➖➖➖➖➖➖

Видео 17. Consecutive days PySpark interview question | Data Engineer interview канала learn by doing it
Яндекс.Метрика
Все заметки Новая заметка Страницу в заметки
Страницу в закладки Мои закладки
На информационно-развлекательном портале SALDA.WS применяются cookie-файлы. Нажимая кнопку Принять, вы подтверждаете свое согласие на их использование.
О CookiesНапомнить позжеПринять