I have list of integers as below:
mylist = [111,113,114,115,112,115,234,643,565,.....]
I have many lists like this with more than 500 integers on which I wanted to run CountVectorizer. As far as I know, CountVectorizer only tokenize list of string than integers.
I have tried to first convert each element of these lists into str via
mylist_string = list(map(lambda x: str(x), mylist))
but since the list is too long, it is taking very large time.
Is there any way to tokenize the integer lists or is there any efficient way to convert the list of numbers to list of strings.
Thank you