DOC: Changed ndim to 1, modified doc as suggested. #57088
- [ ] closes #57088 
/preview Website preview of this PR available at: https://pandas.pydata.org/preview/pandas-dev/pandas/58091/ Thanks @lamprinikourou 