I want to filter dataframe using query
ExcludeData= [1,3,4,5] dfResult.query(\'Column A in @ExcludeData\')
How do I use Column A in query with
I wouldn't use query function. I would use the square bracket notation:
dfResult = dfResult[dfResult['Column A'].isin(ExcludeData)]