# check if file exists
from os.path import exists
file_exists = exists("/content/sample_data/california_housing_test.csv")
print(file_exists)
#True
from pathlib import Path
path = Path("/content/sample_data/california_housing_test.csv")
path.is_file()
#False