pandas----difference() 以你之姓@ 2022-05-14 11:26 77阅读 0赞 > # difference('column\_name')\#得到dataframe中除column\_name之外的所有变量 # wine\[wine.columns.difference(\['quality', 'type', 'is\_sample'\])\].columns ![70][] [70]: /images/20220514/e8f0aa7642ae42d7955059e43e1bf4c8.png
还没有评论,来说两句吧...