Skip to main content
Solved

Learn to Use the Cognite Python SDK in the data engineer course


Forum|alt.badge.img+2

so in the Learn to Use the Cognite Python SDK  in the data engineer course , I got stuck on the hands on test.as   in the readme file after I created a dataset and a root assets I just do not know how can I  do this section :

 

- Read the `all_countries.csv` file as a dataframe and list all the unique regions in the world.

- For each geographical region, create a corresponding CDF asset that is under the "global" root asset and is associated with the "world_info" data set.

- Next, create country-level assets using the data from the CSV and link them to their corresponding region-level assets.

 

Best answer by Ali-Akram

Thank you I got the problem solved. I do not know why but the code was not running for some reason but it worked fine after trying it with a new copy of the repository

View original
Did this topic help you find an answer to your question?

2 replies

Sofie Haug
Seasoned Practitioner
Forum|alt.badge.img+7
  • Cognite Academy Instructor
  • 157 replies
  • March 25, 2025

Hi ​@Ali-Akram 

Where did you get stuck? and what error message or similar it you receive? 

 

 


Forum|alt.badge.img+2
  • Author
  • Committed
  • 5 replies
  • Answer
  • March 25, 2025

Thank you I got the problem solved. I do not know why but the code was not running for some reason but it worked fine after trying it with a new copy of the repository


Reply


Cookie Policy

We use cookies to enhance and personalize your experience. If you accept you agree to our full cookie policy. Learn more about our cookies.

 
Cookie Settings