df.iloc[:10, 2:5]. loc: 以column 名來做選擇. df.loc[df.density>0.5, ['density','weight']]. ix: 可混合以數字和column 名的選擇.
確定! 回上一頁