Here are the steps to find the file path of your CSV file in Google Colab after you've uploaded it:

  1. Mount your Google Drive:

  2. Locate your file in the Files sidebar:

  3. Get the file path:

    Once your Drive is mounted, you'll see a new folder named "drive" in the Files sidebar on the left side of your Colab notebook.Expand the "drive" folder and navigate to the location where you uploaded your CSV file.

  4. Construct the file path manually:

Once you have the file path, you can use it in the pd.read_csv() function to load your data into a Pandas DataFrame:

Python

import pandas as pd

file_path = '/content/drive/MyDrive/your_folder/your_data.csv'  # Replace with 
your actual file path
data = pd.read_csv(file_path)

Use code with caution.

Important Notes:

Example: