(It doesn't work if you're not inside the cell, because then it doesn't know which cell to run. Another approach is to look at the top filebar thing, and try "Cell" -> "Run all", which should definitely work.)
Conversation
Replying to
ok maybe they are running? Is something supposed to happen when they run? I can successfully create more lines, as evidenced by the screenshot
1
1
"import pandas" just doesn't display any output when it happens successfully
1
also I am happy to call while screensharing if that seems helpful in reducing frustration, I know it would have saved me hours of doing things in slow ways when I was first trying to learn jupyter notebooks + pandas
1
Replying to
ya i wanted to screenshaer earlier but now im physically stressed and cannot take anyone up on the multitutde of offers
1
1
ok so now i apparently have pandas in there, how do i make a csv file get in there
1
the filepath here should be replaced with whatever the full filepath to your target file is (I think this can be a little finnicky to find on a Mac), and the '\t' might need to be ',' depending on what sort of csv it is
1
This Tweet was deleted by the Tweet author. Learn more
Replying to
I think putting an r before the string -pd.read_csv(r'C:\Users\…) - will fix this, though I'm on a Mac so might have this wrong for windows filestrings.
2
1
Show replies
You’re dealing with the fallout of a long-standing argument between Windows and other operating systems. Python, like Macs, uses ‘\’ to mean that the next character isn’t really what it looks like. For example, ‘\t’ is a tab. Reverse the slashes to ‘/‘ and that’ll fix it.


