Python code crashes in training

Bartlomiej Jesionkiewicz 30 Reputation points
2024-07-08T20:24:28.68+00:00

Hi,

I have carried out several trainings relating to Azure AI in preparation for the Fundamentals exam AI-900.

The trainings often contain cells with prewritten Python code that one has to execute to generate results like

  • automated data clean-up
  • creation of tables
  • creation of graphs

The Python code functioning properly is crucial for the training, because above-mentioned results are referenced by the rest of the text content and are needed to explain the various aspects of machine learning.

Unfortunately, I repeatedly ran into errors. One of them, was the unavailability of the kernel that carried out the processing of the code (I highlighted that in question https://video2.skills-academy.com/en-us/answers/questions/1698796/kernel-not-found-or-was-deleted).

The other issue were crashed of the Python code because of supposed errors. What is particularly bad is that if one cell with Python code cannot be executed, the following cells usually do not work either, because they often use the output from previous cells as input for further processing.

Please find a collection of 5 errors linked. I added the path to the training in which the error occurred at the top of each screenshot.2024-07-08_5-examples-of-python-errors.png

Azure Training
Azure Training
Azure: A cloud computing platform and infrastructure for building, deploying and managing applications and services through a worldwide network of Microsoft-managed datacenters.Training: Instruction to develop new skills.
1,585 questions
{count} votes

Your answer

Answers can be marked as Accepted Answers by the question author, which helps users to know the answer solved the author's problem.