python读取绝对路径的三种方式
import pandas as pd dood_inf0=pd.read_csv("C:\\Users\\Administrator\\Desktop\\food_info.csv") dood_inf1=pd.read_csv(r"C:\Users\Administrator\Desktop\food_info.csv") dood_inf2=pd.read_csv("C:/Users/Administrator/Desktop/food_info.csv")