I have a list of words that went into a tokenizier and came out like so:
[[0], [97], [153]]
I want to go from that list into:
[0, 97, 153]
How would I do that?
I have a list of words that went into a tokenizier and came out like so:
[[0], [97], [153]]
I want to go from that list into:
[0, 97, 153]
How would I do that?
l = [[0], [97], [153]]
[x[0] for x in l]