Python Forum
TypeError: '>' not supported between instances of 'numpy.str_' and 'int' - Printable Version

+- Python Forum (https://python-forum.io)
+-- Forum: Python Coding (https://python-forum.io/forum-7.html)
+--- Forum: Data Science (https://python-forum.io/forum-44.html)
+--- Thread: TypeError: '>' not supported between instances of 'numpy.str_' and 'int' (/thread-42036.html)



TypeError: '>' not supported between instances of 'numpy.str_' and 'int' - Anouar - Apr-26-2024

When I tried to run my python script, I got this error "TypeError: '>' not supported between instances of 'numpy.str_' and 'int'"

There are two input files. One of the input files has this form:

DATE_E TIME_E LAT LON K TIME_P TIME_S FILENAME
2009-11-19 21:45:04.010 34.8395 -5.5598 9 21:45:12.25 21:45:19.46 data/PM05/PM05_data.mseed

The other is in the attachment.
I think the problem is in the input files. Your suggestions ?