azure-blob-trigger

Read in azure blob using python

蹲街弑〆低调 提交于 2020-01-16 08:41:43
问题 I want to read an excel file stored in Azure blob storage to a python data frame. What method would I use? 回答1: There is a function named read_excel in the pandas package, which you can pass a url of an online excel file to the function to get the dataframe of the excel table, as the figure below. So you just need to generate a url of a excel blob with sas token and then to pass it to the function. Here is my sample code. Note: it requires to install Python packages azure-storage , pandas and