Skip to main content
Solved

ValueError: Out of range float values


Forum|alt.badge.img+4

Doing the ‘hands-on’ for Data Engineer Basics - “Learn to Use the Cognite Python SDK “ Course."

I am down to adding events to CDF from  events.csv.

I noted that the dataframe df has some entries :NaN” wherever the csv has a blank.

Then,

However, creating events in CDF fails:

the error is:

 

Next, I replace all the csv blank entries with text “blank”, and read into a dataframe. Now the latter does not have any “NaN” values.

 

This throws the same exception when creating events in CDF.

If someone can kindly assist, I would be very grateful.

Thank you,

Doug

 

 

 

Best answer by Sofie Haug

We have made some changes to the course @Mugless Durry ! Please let me know if you still experience the same issues. 

 

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

2 replies

Sofie Haug
Practitioner
Forum|alt.badge.img+7
  • Cognite Academy Instructor
  • 150 replies
  • May 24, 2024

Hi @Mugless Durry, sorry for the late reply. I will have to go through the course myself and dig a bit into it to check, and if this causes any issues, I will make the needed changes to the events data. 

 

Best regards, 


Sofie Haug
Practitioner
Forum|alt.badge.img+7
  • Cognite Academy Instructor
  • 150 replies
  • Answer
  • June 6, 2024

We have made some changes to the course @Mugless Durry ! Please let me know if you still experience the same issues. 

 


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