I have a file at ~/Google Drive/iNat/full.csv
.
iNatPATH = r"~/Google Drive/iNat/"
FILENAME = iNatPATH + "full.csv"
I can't figure out why Pandas is able to read the csv
file:
import pandas as pd
raw_data = pd.read_csv(FILENAME)
# no error returned.
But os
can't find it:
import os
os.path.exists(FILENAME)
# outputs False
I am running this code in a macOS system on a local runtime in Google Colab.
My working directory is (not supposed to be relevant since I am using the absolute path):
>>> os.getcwd()
...
'/Users/<myusername>/Documents'
与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…