更新时间:2023-01-04 09:24:44
我认为您想使用get_blob_to_bytes
,or get_blob_to_text
;这些应该会输出一个字符串,您可以将其用作创建数据框的方式
I think you want to use get_blob_to_bytes
, or get_blob_to_text
; these should output a string which you can use to create a dataframe as
from io import StringIO
blobstring = blob_service.get_blob_to_text(CONTAINERNAME,BLOBNAME)
df = pd.read_csv(StringIO(blobstring))