DOC: improve description of the example which dataframe has two rows (#36971)
DOC: improve description of the example which dataframe has two rows (#36971)

* fix issue 36970

improve description of the examplewhich dataframe has two rows

* improve description of example

improve description of the example which dataframe has two rows

* improve description of the example describing mode operation.

* remove trailing extra line

* preserve newline

Co-authored-by: yonas kassa <57f12a66402a280bf8c9bf2807e92a33a27b141a@eurecat.org>
Co-authored-by: Marco Gorelli <6ac6b2f721d9d72e96db4fbe8571ed09d0ad288d@gmail.com>
datapythonista/pandas,gfyoung/pandas,pandas-dev/pandas,dsm054/pandas,dsm054/pandas,jreback/pandas,jorisvandenbossche/pandas,jreback/pandas,pandas-dev/pandas,pandas-dev/pandas,gfyoung/pandas,jreback/pandas,datapythonista/pandas,rs2/pandas,jorisvandenbossche/pandas,dsm054/pandas,jreback/pandas,dsm054/pandas,datapythonista/pandas,jorisvandenbossche/pandas,gfyoung/pandas,dsm054/pandas,rs2/pandas,rs2/pandas,datapythonista/pandas,jreback/pandas,pandas-dev/pandas,gfyoung/pandas,jorisvandenbossche/pandas,rs2/pandas,gfyoung/pandas