Question

ValueError: Out of range float values

  • 18 April 2024
  • 0 replies
  • 8 views

Badge

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

 

 

 


0 replies

Be the first to reply!

Reply