What are some ways to post python pandas dataframes to slack?
How can I export a pandas dataframe to slack? df.to_json() seems like a potential candidate, coupled with the slack incoming webhook, but then parsing the message to display as a nice markdown/html-ized table isn't obvious to me. Long time listener, first time caller, please go easy on me... There is a .to_html() method on DataFrames, so that might work. But if you are just looking to cut and paste, Tabulate is a good choice. From the docs: from tabulate import tabulate df = pd.DataFrame([["Name","Age"],["Alice",24],["Bob",19]]) print tabulate(df, tablefmt="grid") Returns +---+-------+-----+ |