3

I am using Google Colaboratory to run my machine learning project. I wanted to import .csv into pandas and use it for further processing, but I am facing an error stating that the file is not found. Do I need to provide any authorization to access that file or is it mandatory to upload file into google colab? That file already exists in same folder on Google Drive as that of .ipynb notebook.

Code: read_csv function to read file pandas read_csv function to read file

Error: Unable to locate Unable to locate

Do I need to provide any authentication or something like that?

Davide Fiocco
  • 5,350
  • 5
  • 35
  • 72
Gaurav
  • 41
  • 1
  • 2
  • 1
    I think this answer would help: https://stackoverflow.com/questions/48340341/read-csv-to-dataframe-in-google-colab – deepseas Jan 23 '18 at 18:04
  • 1
    Possible duplicate of [read csv to dataframe in google colab](https://stackoverflow.com/questions/48340341/read-csv-to-dataframe-in-google-colab) – JARS Feb 06 '19 at 18:51

1 Answers1

3

See the I/O sample notebook for examples showing how to work with local files and those stored on Drive.

Bob Smith
  • 36,107
  • 11
  • 98
  • 91