Skip to content

Instantly share code, notes, and snippets.

@kvnkho
Created January 19, 2022 03:36
Show Gist options
  • Save kvnkho/934b53ac7cd31646ac874e3a8fe943f5 to your computer and use it in GitHub Desktop.
Save kvnkho/934b53ac7cd31646ac874e3a8fe943f5 to your computer and use it in GitHub Desktop.
@task
def get_results(results):
from prefect.backend.artifacts import create_markdown_artifact
res = pd.DataFrame(results)
create_markdown_artifact(res.to_markdown())
return res
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment