0

I have a dataframe :

a b
1 dasd
2 fsfr12341
3 %%$dasd11
4 &^hkyo1

I need to remove all the values in column b and make it a blank column

a b
1
2
3
4

Kindly help me on this. thanks alot

1 Answers1

0

Try changing the b column to empty strings '', like this:

df['b'] = ''
U12-Forward
  • 65,118
  • 12
  • 70
  • 89