gpt4 book ai didi

Azure ML : How do we connect to registered dataset (made out of SQL datastore) in python script?

转载 作者:行者123 更新时间:2023-12-03 04:06:44 25 4
gpt4 key购买 nike

我正在使用 Azure ML。已从 Azure SQL 数据库创建数据存储。然后使用 SQL 从此数据存储注册数据集。

能够查看数据集中的数据,但是当尝试从 python 脚本读取此数据集时,出现如下错误:

"Exception=DatasetExecutionError; Could not connect to specified database"

下面是示例代码:

dataset = Dataset.get_by_name(workspace=ws, name='ds_test')
df_rawest = (dataset.to_pandas_dataframe())
  • 地点:


  • ds_test = 我注册的数据集

  • 和 ws = Azure 工作区

有人遇到过这样的问题吗?

最佳答案

请关注以下快照和以下document注册数据集。 enter image description here enter image description here enter image description here

关于Azure ML : How do we connect to registered dataset (made out of SQL datastore) in python script?,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/59445324/

25 4 0
Copyright 2021 - 2024 cfsdn All Rights Reserved 蜀ICP备2022000587号
广告合作:1813099741@qq.com 6ren.com