Sep-06-2019, 01:45 PM
Hi,
I am looking for a way in pandas to do the following:
First lets assume a data frame with the following columns
drop any row if any of the columns 1,2,3,4,5 contains 100 or 101?
How I can combine all those conditions together?
Thanks a lot
Regards
Alex
I am looking for a way in pandas to do the following:
First lets assume a data frame with the following columns
small_df=df[['1','2','3','4','5','dist','unique']]then I would like to
drop any row if any of the columns 1,2,3,4,5 contains 100 or 101?
How I can combine all those conditions together?
Thanks a lot
Regards
Alex