반응형
Notice
Recent Posts
Recent Comments
Link
| 일 | 월 | 화 | 수 | 목 | 금 | 토 |
|---|---|---|---|---|---|---|
| 1 | 2 | 3 | 4 | |||
| 5 | 6 | 7 | 8 | 9 | 10 | 11 |
| 12 | 13 | 14 | 15 | 16 | 17 | 18 |
| 19 | 20 | 21 | 22 | 23 | 24 | 25 |
| 26 | 27 | 28 | 29 | 30 | 31 |
Tags
- numpy
- Apache
- Mac
- c#
- hive
- list
- Kotlin
- array
- google apps script
- matplotlib
- Google Spreadsheet
- math
- Github
- PostgreSQL
- string
- PySpark
- dataframe
- 파이썬
- Tkinter
- gas
- Excel
- Python
- Java
- django
- GIT
- Redshift
- SQL
- Google Excel
- PANDAS
Archives
- Today
- Total
목록PythonOperator (1)
달나라 노트
Airflow Operator : PythonOperator (airflow에서 python code 실행)
Airflow의 PythonOperator는 내가 정의해둔 Python 함수를 실행해주는 역할을 하는 operator입니다. 예시를 봅시다. from airflow import DAGdag = DAG( dag_id='test_dag', start_date=datetime.datetime(2022, 9, 27), schedule_interval='0 20 * * *')from airflow.operators.python_operator import PythonOperator # 1def test_function(**kwargs): # 2 import pandas as pd import openpyxl import os import sys import datet..
Airflow/Airflow Operator
2025. 10. 18. 13:06