Inf in query / eval (original) (raw)

In df.eval() or df.query(), is there any way to run comparisons against np.Inf?

When I do:

temp_df.eval('my_col < Inf') or
temp_df.eval('my_col < np.Inf') or

I get UndefinedVariableError