Closed
Description
My dataframe df
has a column called "Unnamed:_6" which is of dtype object
.
Running the following command works just fine:
df[df['Unnamed:_6'] == "Foo"]
However, the equivalent line:
df.query('Unnamed:_6 == "Foo"')
raises the following exception:
NotImplementedError: 'AnnAssign' nodes are not implemented