Mar-12-2023, 10:52 AM
Hi all,
The demo is wanted check multiple columns within range(filter out of range row) and pick up other columns.
when chosen one column that can work by between function, but add more columns got an error.
The demo is wanted check multiple columns within range(filter out of range row) and pick up other columns.
when chosen one column that can work by between function, but add more columns got an error.
import pandas as pd df=pd.read_csv(r'log.csv',header=1).drop([0,1]) df1=df['VDD Continuity'].between(-0.8,-0.25,inclusive ='both') print(df[df1]['DUT_NM_Noise']) # It is work as well. df1=df[['VDD Continuity','LR Continuity','DATA Continuity','SCLK Continuity']].astype('float').between(-0.8,-0.25,inclusive ='both') print(df[df1]['DUT_NM_Noise']) It doesn't work.Is there have a good way to handle the issue,thanks!!