Created
June 20, 2021 11:25
-
-
Save ishritam/440eedf87b021c1f2f4b452ca6ec32b1 to your computer and use it in GitHub Desktop.
Zalando ETL Load
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
def load_data(path: str, ti) -> None: | |
data = ti.xcom_pull(key='transformed_data', task_ids=['transform_data']) | |
data_df = pd.DataFrame(data[0]) | |
data_df.to_csv(path, index=None) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment