# Unable to import csv file in jupyter note book

**URL:** <https://discourse.jupyter.org/t/unable-to-import-csv-file-in-jupyter-note-book/19981>\
**Category:** General\
**Tags:** how-to, help-wanted\
**Created:** [June 18, 2023, 8:29am UTC](https://discourse.jupyter.org/t/unable-to-import-csv-file-in-jupyter-note-book/19981 "2023-06-18T08:29:52Z")\
**Posts on this page:** 1\
**Showing post:** 2

<div class="post-metadata">

**Author:** ![fomightez](https://yyz1.discourse-cdn.com/flex031/user_avatar/discourse.jupyter.org/fomightez/32/495_2.png) [@fomightez](https://discourse.jupyter.org/u/fomightez)\
**Post date:** [June 18, 2023, 1:57pm UTC](https://discourse.jupyter.org/t/unable-to-import-csv-file-in-jupyter-note-book/19981/2 "2023-06-18T13:57:21Z")

</div>

Have you tried using the documentation for Pandas to make a toy dataframe and save that as `.csv` file like `df.to_csv('my_csv.csv.')` (purposefully no complicated path), and then reopened it?  
Can then you use your system’s graphical user interface to move the file you are trying to work with to the same place and see if you can open it just using the file name?

It looks like a typical path problem. From inside Jupyter can you see that file and navigate to it properly using `pwd` and `ls` and `%cd`? (Note you have to use the magic version of cd to change the directory and have it take effect beyond that single line.) Explore using those to navigate your system’s hierarchy from inside Jupyter and see if you can get there. (That advice is in expanded form [here](https://discourse.jupyter.org/t/convert-from-py-to-ipynb-format/9993/4) if that is unclear.)

Are you using OneDrive? That puts files in places that aren’t always clear to the user.

---

_[View the full topic](https://discourse.jupyter.org/t/unable-to-import-csv-file-in-jupyter-note-book/19981)._
