简体   繁体   English

从Excel读取存储在Azure Blob存储中的.csv

[英]Reading .csv stored in Azure Blob Storage from Excel

I've been able to create a storage account, then a container, than a blob storing a .csv file. 我能够创建一个存储帐户,然后是一个容器,而不是创建一个存储.csv文件的Blob。 I've successfully been able to download the .csv file from Azure itself and using Python as well via the azure-storage package. 我已经能够从Azure本身成功下载.csv文件,并且还可以通过azure-storage包使用Python。 This is to confirm that external sources (ie Python) are able to import/export blobs. 这是为了确认外部源(即Python)是否能够导入/导出Blob。 The .csv stores a numeric table with header in the first row. .csv在第一行中存储一个带有标题的数字表。

The second step is to import the same data in Excel 2016. The steps that I'm following from Excel are: New Query --> From Azure --> From Microsoft Azure Blob Storage --> provide and --> Navigator. 第二步是在Excel 2016中导入相同的数据。我要从Excel中执行的步骤是:新建查询->从Azure->从Microsoft Azure Blob存储->提供和->导航器。 From here, I can see that dataset.csv file in the container. 从这里,我可以看到容器中的dataset.csv文件。

在此处输入图片说明

However, clicking the button "load" in the Navigator only allows to download the table in the previous picture in excel, and not the data stored in those files. 但是,单击导航器中的“加载”按钮仅允许在excel中下载上一张图片中的表,而不下载这些文件中存储的数据。

在此处输入图片说明

I've explored the add ons "Design" and "Query" to look for a button to download the data stored in those blobs but unsuccessfully. 我已经探索了“设计”和“查询”附加组件,以寻找一个按钮来下载存储在这些Blob中的数据,但未成功。

Question : how to import the numberic data stored in one of the .csv in Azure Blobs listed in the Wizard? 问题 :如何导入向导中列出的Azure Blob中.csv之一中存储的数字数据?

As far as I know, if you want to import the data from the stored excel in the azure blob. 据我所知,如果您要从蔚蓝斑点中存储的excel中导入数据。 You need edit the import data. 您需要编辑导入数据。

More details, you could refer to this image: 更多详细信息,您可以参考以下图片:

1.When you use query to query the information in the blob. 1.使用query查询blob中的信息时。 Click edit button. 单击编辑按钮。

在此处输入图片说明

2.Then you could click the binary to change the loaded value to your excel. 2.然后,您可以单击二进制文件以将加载的值更改为Excel。

在此处输入图片说明

3.Then you could load the details excel data. 3.然后您可以加载详细信息excel数据。

在此处输入图片说明

When the Import Data module loads data from a CSV or TSV file in Azure blob storage, a type guesser looks for categorical or numerical data in the source file, and represents the discovered type in the metadata for the new dataset. 当“导入数据”模块从Azure blob存储中的CSV或TSV文件加载数据时,类型猜测器将在源文件中查找类别或数字数据,并在新数据集中的元数据中表示发现的类型。 However, you can override the results of the type guesser by editing the column attributes in the Edit Metadata module after the data has been loaded 但是,可以在加载数据后通过在“ 编辑元数据”模块中编辑列属性来覆盖类型猜测器的结果。

For more information; 欲获得更多信息; You may refer to this article . 您可以参考这篇文章

暂无
暂无

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

相关问题 从 PySpark 中的 azure blob 存储中高效读取多个 excel 文件 - Read multiple excel files from azure blob storage in PySpark efficiently 是否有任何自动方式将Azure Blob存储中的CSV文件转换为Excel表? - Is there any automated way to convert the CSV files in Azure Blob Storage to Excel tables? 如何仅使用Excel Power Query从Azure Blob存储中查询值? - How to query values only from Azure Blob Storage with Excel Power Query? Logic App 能否刷新 Azure 存储 (blob) 中的 excel 文件? - Can Logic App refresh excel file in the Azure Storage (blob)? 预览或将存储在Azure Blob中的Excel文档嵌入网页中 - Preview or Embed on a web page an Excel document stored in Azure Blob 使用R从Azure Blob导入Excel - Import excel from Azure blob using R 在 Azure Z9778840A06741CB30BA2Z82 的存储过程中从 SQL 查询中读取 excel 工作表数据 - Reading excel sheet data from SQL query in stored procedure in Azure SQL Azure 门户 - 使用 Powershell 和从 Excel 电子表格或 ZCC8D653130C4ADEFEDA6 读取数据将标签分配给资源组 - Azure Portal - Assign tags to Resource Groups using Powershell and reading data from Excel spreadsheet or CSV 从存储在Sharepoint中的Excel文档中读取数据? - Reading data from an Excel document stored in Sharepoint? Excel Power Query - 是否可以使用 SAS 身份验证或 Azure AD 帐户连接到 Azure Blob 存储 - Excel Power Query - Is it possible to connect to Azure Blob Storage with SAS authentication or Azure AD account
 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM