Apache Airflow for Data Science #3 - How to work With Databases (Postgres)

preview_player
Показать описание
Learn how to extract data from Postgres with Postgres Hook, how to run SQL statements through Airflow, and how to insert data from a CSV file with the Bash operator - all of that in a single DAG (data pipeline).

00:00 Introduction
00:40 Dataset and database configuration
02:28 Setup a Postgres connection in Airflow
04:09 Writing the Airflow DAG
08:50 How to run the DAG through Airflow
09:34 Outro

FOLLOW BETTER DATA SCIENCE

FREE “LEARN DATA SCIENCE MASTERPLAN” EBOOK

GEAR I USE
Рекомендации по теме
Комментарии
Автор

Great Tutor,
i got some error like in process_iris_data like
data=iris[0],
IndexError: list index out of range
could you help me where i go wrong?

rohmankpaii
Автор

All your videos are really great, and helped me understand Apache Airflow much better! However now I find that you copy-paste your code (vis-a-vis your previous two videos). Maybe for future reference, people learning new things really prefer to have code typed as one can match the speed.

williamburton
Автор

Hi Brothers and Sisters,
Can I get some help. I get No Data when I execute airflow tasks test postgres_db_dag process_iris_data 2022-2-1
?

smailsmailox
Автор

Thank you so much, it's really helpful. Subscribe!

asep-supriyadi
Автор

The website Better Data science id down

gauravsinha