读取csv: titanic_df = pd.read_csv(TRAIN_PATH) 显示头几行: titanic_df.head() 显示每一列的数量以及类型: titanic_df.info() 这可以用来看是否有缺失值