引入pandas 等包,DataFrame、Series 属于常用的,所以直接引入 ... df['new_col'] = range(len(df)) df['new_col'] = np.repeat(np.nan,len(df)) df['random'] ...
確定! 回上一頁