I have a numpy array containing text data created by a groupby of pandas dataframe and further data preprocessing. Now I want to fit my data into a model, but I get the followin