使用Python和amp;浏览数据. [英] Exploring data using Python & R .

查看:77
本文介绍了使用Python和amp;浏览数据.的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我尝试使用Python探索数据.但是只要我这样做,我总是收到一条消息:

解决方案

来自 导入 工作区 = 工作区
    workspace_id
"WORKSPACEID"
    authorization_token
'AUTH_TOKEN'
   端点
'https://studioapi.azureml.net' ) = . [
框架
ds to_dataframe

ValueError: workspace_id not provided and not available via config .

I also get the same message when trying to explore data using R .Please how can i resolve this .

解决方案

Hi,

For solving this issue, please try following:

from azureml import Workspace
ws
= Workspace(
    workspace_id
='WORKSPACEID',
    authorization_token
='AUTH_TOKEN',
    endpoint
='https://studioapi.azureml.net'
)
ds
= ws.datasets['YOUR DATASET']
frame
= ds.to_dataframe()

The R code should be similar as above, you need to define the Workspace as well.

Thanks a lot!

Regards,

Yutong



这篇关于使用Python和amp;浏览数据.的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆