Hi, Does anyone know how to better format a table ...
# ask-community
a
Hi, Does anyone know how to better format a table in slack notify message via Prefect. I am using below code but it sends the data in very bad format (It also uses very small width which makes it less readable)
Copy code
slack_webhook_block = SlackWebhook.load("bugs")
markdown_table = df.to_markdown()
msg = "*Spotlight on Errors: Delving into the Top 10 Identified Errors*\n```\n" + markdown_table + "\n```"
slack_webhook_block.notify(msg)