Jun-13-2021, 03:42 PM
1. Try defining the particular character used in dataset to separate fields eg -
X = pd.read_csv(r"D:\Clustering\text-cluster-master\text-cluster-master\Articles.csv", index_col='id',delimiter='|')2. Also you may skip any erroneous row if that helps
X = pd.read_csv(r"D:\Clustering\text-cluster-master\text-cluster-master\Articles.csv", index_col='id', , error_bad_lines=False)