dataformat

Python Pandas and Slack Webhooks Requests.post

Python Pandas and Slack Webhooks Requests.post Question: What im looking to achieve is pulling a csv file from a workorder app that we use. Then convert it using pandas and remove unnecessary columns. Then post this info into slack using a webhook. I dont have access to the slack API. So far this is what …

Total answers: 1

How can I get dict from sqlite query?

How can I get dict from sqlite query? Question: db = sqlite.connect(“test.sqlite”) res = db.execute(“select * from table”) With iteration I get lists coresponding to the rows. for row in res: print row I can get name of the columns col_name_list = [tuple[0] for tuple in res.description] But is there some function or setting to …

Total answers: 16