How to conditionally update DataFrame column in Pandas

前端 未结 3 1767
挽巷
挽巷 2020-12-01 02:28

With this DataFrame, how can I conditionally set rating to 0 when line_race is equal to zero?

    line_track  line_race  rating fo         


        
3条回答
提交回复
热议问题