Jan-14-2019, 10:45 AM
You can remove junk values if you're able to define which part of the data is made of junk
>>> "This string contains junk values".replace("junk", "") 'This string contains values'For example 15:49:00 doesn't look like junk in your output. The much better solution is to understand why the device sends these values and if they have a meaning, but that may be unreachable?