2022-07-17 DataFrameのcolumnから数値型のcolumnのみ取り出す AI 以下のようにする。 num_train = df.select_dtypes(include=[np.number]) 参考: stackoverflow.com