📜  如何仅从具有特定数据类型的 datframe 中获取列 - Python 代码示例

📅  最后修改于: 2022-03-11 14:45:28.847000             🧑  作者: Mango

代码示例1
# this will whow the columns of a dataframe which have datatype as int and float
df.select_dtypes(include=['int64', 'float64'])