![]() ![]() However as the -sers from Users doesn't match the xxxxxxxx format, you get the error: Because of this, Python tries to find a 32-bit hex value. \Users matches the escape sequence \Uxxxxxxxx whereby xxxxxxxx refers to a Character with 32-bit hex value xxxxxxxx. How this particularly affects your statement is that in the line student_data = pd.read_csv("C:\Users\xxxx\Desktop\student-intervention. ![]() It is not a matter of your folder name being too long.Īs Bohun Mielecki mentioned, the \ character which is typically used to denote file structure in Windows has a different function when written within a string.įrom Python3 Documentation: The backslash \ character is used to escape characters that otherwise have a special meaning, such as newline, backslash itself, or the quote character. ![]() Either replace all backslashes \ with frontslashes / or place a r before your filepath string to avoid this error. ![]()
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |