spaCy library to extract noun phrase – ValueError: [E866] Expected a string or 'Doc' as input, but got: <class 'float'>
spaCy library to extract noun phrase – ValueError: [E866] Expected a string or 'Doc' as input, but got: <class 'float'> Question: currently I’m trying to extract noun phrase from sentences. The sentences were stored in a column in excel file. Here the code using python: import pandas as pd import spacy df = pd.read_excel("xxx.xlsx") nlp …
Total answers: 3