I have tried “if” function in google colab but i am facing the problem

前端 未结 0 1567
攒了一身酷
攒了一身酷 2020-12-29 17:11
def imupte_age(cols): 
  Age=cols[0]
  Pclass=cols[1]

  if pd.isnull(Age):

    if Pclass==1:
      return 38

      elif Pclass==2:
        return 28

        else         


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