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
| # Requires | |
| # pip install apache-beam | |
| # pip install apache-beam[dataframe] | |
| # | |
| # Associated documentation | |
| # Beam Dataframe API: https://beam.apache.org/releases/pydoc/2.34.0/apache_beam.dataframe.html | |
| # Beam Dataframe Overview: https://beam.apache.org/documentation/dsls/dataframes/overview/ | |
| # Beam Dataframe Differences: https://beam.apache.org/documentation/dsls/dataframes/differences-from-pandas/ | |
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
| import numpy as np | |
| import pandas as pd | |
| import prefect | |
| from os import listdir | |
| from os.path import isfile, join | |
| from prefect import Flow, apply_map, case, task | |
| from prefect.tasks.control_flow import merge | |
| INPUT_BASE_PATH = './data/input' |
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
| import numpy as np | |
| import pandas as pd | |
| import prefect | |
| from os import listdir | |
| from os.path import isfile, join | |
| from prefect import Flow, apply_map, case, task | |
| from prefect.engine.results import LocalResult | |
| from prefect.tasks.control_flow import merge |
OlderNewer