user defined function for if loop in pandas

前端 未结 0 1433
滥情空心
滥情空心 2020-12-11 17:23

Can there be a faster and efficient way of restructuring the following code

def g(i):
  if(0>=i<1):
    return \'0-1\'
  if(1>=i<2):
    return \'         


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