错误0085 [英] error 0085
问题描述
def azureml_main(dataframe1 = None,dataframe2 = None):
##删除yr和weathersit列
dataframe1.drop(['yr','weathersit'],1,inplace = True)
返回dataframe1
def azureml_main(dataframe1 = None, dataframe2 = None):
## delete yr and weathersit columns
dataframe1.drop(['yr', 'weathersit'], 1, inplace = True)
return dataframe1
推荐答案
这似乎是您遇到了语法错误,可以检查变量名吗?这是您的错误的文档:
This looks like you have run into a syntax error, could you check your variable names? Here is the documentation for your error: https://docs.microsoft.com/en-us/azure/machine-learning/studio-module-reference/errors/error-0085
如果您只是尝试从数据集中删除列,则还可以考虑使用内置模块:
If you are trying to simply drop columns from your dataset, you can also consider using the inbuilt module: https://docs.microsoft.com/en-us/azure/machine-learning/studio-module-reference/select-columns-in-dataset
我创建了一个简单的实验,它的工作方式如下所示:
I created a simple experiment and it seems to work as shown below:
执行Python脚本"模块中的示例代码如下:
The sample code within the 'Execute Python Script' module is as follows:
这篇关于错误0085的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!