有没有办法选择 pandas DataFrame 对象中除一列之外的所有列?我已经看到了删除列的方法,但我不想这样做。
use drop method:
drop
df.drop(column_name, axis=1)