Pandas: df.query() method returns 0 results
As ifly6 and Yuca pointed out, removing inplace=True resolved this.
I have a pandas dataframe and using:
filtered = dataframe[dataframe["x"] == "y"] returns results.   
However, this does not:
filtered = dataframe.query('x == "y"', inplace=True) does not.