Add requirement for a 1-dimensional ndarray in the `pd.qcut` docstring
- [x] closes #18173 

`pd.qcut` only accepts 1-dimensional numpy arrays, which is not mentioned in the docstring. This PR  updates the docstring accordingly.