Skip to main content
Answer

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

  • March 24, 2025
  • 2 replies
  • 43 views

Forum|alt.badge.img+3

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

2 replies

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

Hi ​@Ali-Akram 

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

 

 


Forum|alt.badge.img+3
  • Author
  • Seasoned
  • 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