I understand that the ideal process would be to apply a lambda function like this: df['Classification']=df['Size'].apply(lambda x: "<1m" if x<1000000 else "1- ...
確定! 回上一頁