I have a text that is tokenized. Inside there numbers like 1.2, 2.3, etc I used the following codes to remove them but they do not work
train_vs['doc_text'] = train_vs['doc_text'].apply(lambda x: [c for c in x if not c.isnumeric()])
train_vs['doc_text'] = train_vs['doc_text'].apply(lambda x: [c for c in x if not c.isdigit()])
Any help on how to remove these digits? Thanks