0

for example i have column in dateframe 'df' named 'SPEED' . SO df[df['Speed']>50] will simply put true and false according to condition in that column. But i want to put 0 instead of false and 1 instead of true. How to do that?

wm 50
  • 27
  • 6

0 Answers0