I am fetching the rows with some values from a pandas dataframe with the following code. I need to convert this code to pandas.query()
.
results = rs_gp[rs_gp['Col1'].notnull()]
When I convert to:
results = rs_gp.query('Col1!=None')
It gives me the error
None is not defined