You can access the data-type of a column with dtype: for y in agg.columns: if(agg[y].dtype == np.float64 or agg[y].dtype == np.int64):.
確定! 回上一頁