how to select all but last columns in python

58

how to select all but last columns in python -

df.iloc[:,:-1]

Comments

Submit
0 Comments