Python Forum
How to get past NaN value
Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
How to get past NaN value
#5
if avitime == None
gives exactly the same output. I just need to skip the whole file if the value is NaN on this particular occasion, though that is proving very difficult as I can't identify the file causing the probem, as they all open in a text file, some are empty or zero value on that element or they have the expected float, so it is difficult to understand what it is actually tripping up on, that's why I just want to completely skip the file is nan is present, but I can't find an answer.
Reply


Messages In This Thread
How to get past NaN value - by iFunKtion - Dec-13-2016, 04:24 PM
RE: How to get past NaN value - by micseydel - Dec-13-2016, 04:38 PM
RE: How to get past NaN value - by iFunKtion - Dec-13-2016, 04:53 PM
RE: How to get past NaN value - by micseydel - Dec-13-2016, 05:06 PM
RE: How to get past NaN value - by iFunKtion - Dec-13-2016, 05:23 PM
RE: How to get past NaN value - by iFunKtion - Dec-14-2016, 07:46 AM
RE: How to get past NaN value - by micseydel - Dec-14-2016, 06:49 PM
RE: How to get past NaN value - by iFunKtion - Jan-26-2017, 09:00 AM

Forum Jump:

User Panel Messages

Announcements
Announcement #1 8/1/2020
Announcement #2 8/2/2020
Announcement #3 8/6/2020