📜  选择 DF 列 python 代码示例

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

代码示例2
df1 = df.iloc[:,0:2] # Remember that Python does not slice inclusive of the ending index.