pandas dividing by condition

后端 未结 0 1747
离开以前
离开以前 2020-12-03 09:16

I have a pandas dataframe df with the contents below:

df = pd.DataFrame({\'x\': [\'a\', \'b\', \'c\'], \'y\': [15, 10, 5]})

enter image descr

相关标签:
回答
  • 消灭零回复
提交回复
热议问题