add ignore_index parameter to query
This PR adds `ignore_index` parameter to `DataFrame.query` method. The `ignore_index()` parameter allows other DataFrame methods that filter out rows (e.g. `dropna`, `drop_duplicates` etc.) to reset to the default RangeIndex in the same method call. By adding it to `query`, we improve consistency. So with this parameter, instead of
```python
df.query(condition).reset_index(drop=True)
```
which requires two method calls, we could do
```python
df.query(condition, ignore_index=True)
```
This also allows for in-place index reset as well.
```python
df.query(condition, inplace=True)
df.reset_index(drop=True, inplace=True)                       # <--- two lines and a bit cumbersome

df.query(condition, inplace=True, ignore_index=True)  # <--- cleaner
```

Thanks for the PR, but for enhancement requests we usually require an issue to be opened up first before opening a PR.

Of note, I don't think this functionality would meet the bar of inclusion into pandas since the project is trying to limit multiple ways of doing the same task.

If still interested in pursuing please open an issue first so closing