Jun-11-2021, 03:54 PM
You can not do it like this and singel
\
will mess up path because of escape character.# \t is Tab,see the space so path will never work like this >>> s = 'D:\text-cluster-master' >>> print(s) D: ext-cluster-masterYou most also point to the exacts placement of the file and the folder.
# Turn backslash this X = pd.read_csv("D:/Clustering/text-cluster-master/text-cluster-master/Articles.csv", index_col='id') # Or use raw string X = pd.read_csv(r"D:\Clustering\text-cluster-master\text-cluster-master\Articles.csv", index_col='id')