You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: articles/machine-learning/component-reference/execute-python-script.md
+3-3Lines changed: 3 additions & 3 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -199,7 +199,7 @@ The Execute Python Script component contains sample Python code that you can use
199
199
> [!IMPORTANT]
200
200
> Please use unique and meaningful name for files in the script bundle since some common words (like `test`, `app` and etc) are reserved for built-in services.
201
201
202
-
Following is a script bundle example, which contains a python script file and a txt file:
202
+
Following is a script bundle example, which contains a Python script file and a txt file:
@@ -221,7 +221,7 @@ The Execute Python Script component contains sample Python code that you can use
221
221
# Execution logic goes here
222
222
print(f'Input pandas.DataFrame #1: {dataframe1}')
223
223
224
-
# Test the custom defined python function
224
+
# Test the custom defined Python function
225
225
dataframe1 = my_func(dataframe1)
226
226
227
227
# Test to read custom uploaded files by relative path
@@ -257,7 +257,7 @@ The Execute Python Script component contains sample Python code that you can use
257
257
258
258
If the component is completed, check the output ifas expected.
259
259
260
-
If the component is failed, you need to do some troubleshooting. Select the component, andopen**Outputs+logs**in the right pane. Open **70_driver_log.txt**and search **in azureml_main**, then you could find which line caused the error. For example, "File "/tmp/tmp01_ID/user_script.py", line 17, in azureml_main" indicates that the error occurred in the 17 line of your python script.
260
+
If the component is failed, you need to do some troubleshooting. Select the component, andopen**Outputs+logs**in the right pane. Open **70_driver_log.txt**and search **in azureml_main**, then you could find which line caused the error. For example, "File "/tmp/tmp01_ID/user_script.py", line 17, in azureml_main" indicates that the error occurred in the 17 line of your Python script.
0 commit comments