Min max added to reduction ops
- [x] closes #50937 
- [ ] [Tests added and passed](https://pandas.pydata.org/pandas-docs/dev/development/contributing_codebase.html#writing-tests) if fixing a bug or adding a new feature
- [x] All [code checks passed](https://pandas.pydata.org/pandas-docs/dev/development/contributing_codebase.html#pre-commit).
- [ ] Added [type annotations](https://pandas.pydata.org/pandas-docs/dev/development/contributing_codebase.html#type-hints) to new arguments/methods/functions.
- [ ] Added an entry in the latest `doc/source/whatsnew/vX.X.X.rst` file if fixing a bug or adding a new feature.

Can someone from pandas team review this? > Needs tests and a whatsnew note in `v2.0.0.rst`

Could you give some pointers on how can I add these tests and whatsnew A unit test that checks the behavior of the related issue be added to `pandas/tests/frame/test_query_eval.py`.

An entry should be added to `doc/source/whatsnew/v2.0.0.rst` describing what was fixed > A unit test that checks the behavior of the related issue be added to `pandas/tests/frame/test_query_eval.py`.
> 
> An entry should be added to `doc/source/whatsnew/v2.0.0.rst` describing what was fixed

Would the following test be okay?

```
class TestDataFrameQueryNumExprPython(TestDataFrameQueryNumExprPandas):

    ...

    def test_query_numexpr_with_min_and_max_columns(self):
        df = DataFrame({"min": [1, 2, 3], "max": [4, 5, 6]})
        regex_to_match = r"Variables in expression \"\(min\) == \(1\)\" overlap with builtins: \('min'\)"
        with pytest.raises(NumExprClobberingError, match=regex_to_match):
            df.query("min == 1")

        regex_to_match = r"Variables in expression \"\(max\) == \(1\)\" overlap with builtins: \('max'\)"
        with pytest.raises(NumExprClobberingError, match=regex_to_match):
            df.query("max == 1")

``` Yes but the tests can just be stand alone functions > An entry should be added to `doc/source/whatsnew/v2.0.0.rst` describing what was fixed

Also, could you give me some more hints on what format I should follow to add changes descriptions in 
`doc/source/whatsnew/v2.0.0.rst`? Like in what section, what should be the phrasing format, etc.

Is this ok:

> Numeric
> ^^^^^^^
> - Bug in :meth:`query` with ``engine="numexpr"`` and column names are ``min`` or ``max``, does not work correctly (:issue:`50937`) This will be easier to comment on if you commit the changes you suggested > This will be easier to comment on if you commit the changes you suggested

Sure! ```
************* Module pandas.tests.frame.test_query_eval
pandas/tests/frame/test_query_eval.py:540:8: W0404: Reimport 'NumExprClobberingError' (imported line 6) (reimported)
``` Thanks @ShisuiUzumaki 