How to check if a value is in the list in selection from pandas data frame?

后端 未结 3 861
闹比i
闹比i 2020-11-30 02:36

Looks ugly:

df_cut = df_new[
             (
             (df_new[\'l_ext\']==31) |
             (df_new[\'l_ext\']==22) |
             (df_new[\'l_ext\']==30         


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