Published
- 1 min read
select all columns except one pandas
The solution for this is noted below
select all columns except one pandas
Solution
df[df.columns.drop('b')]
Try other methods by searching on the site. That is if this doesn’t work
Published
- 1 min read
The solution for this is noted below
df[df.columns.drop('b')]
Try other methods by searching on the site. That is if this doesn’t work