Basically I want to do this;
return [ row for row in listOfLists if row[x] is int ]
But row[x] is a text value that may or may not be convertible to an int
I'm aware that this could be done by:
try:
int(row[x])
except:
meh
But it'd be nice to do it is a one-liner.
Any ideas?