Fixed the documentation for pandas.DataFrame.set_index inplace parameter (#37555)
Fixed the documentation for pandas.DataFrame.set_index inplace parameter (#37555)

* Fixed the documentation for pandas.DataFrame.set_index inplace parameter

Fixed the documentation for pandas.DataFrame.set_index inplace parameter.

* "set to" was removed to make it work fine.

@jbrockmendel For your suggestion. Also Thanks to @pep8speaks @arw2019
pandas-dev/pandas,jorisvandenbossche/pandas,datapythonista/pandas,rs2/pandas,datapythonista/pandas,datapythonista/pandas,jreback/pandas,dsm054/pandas,dsm054/pandas,dsm054/pandas,pandas-dev/pandas,gfyoung/pandas,gfyoung/pandas,rs2/pandas,rs2/pandas,gfyoung/pandas,gfyoung/pandas,jorisvandenbossche/pandas,jreback/pandas,jorisvandenbossche/pandas,gfyoung/pandas,jreback/pandas,dsm054/pandas,dsm054/pandas,datapythonista/pandas,jreback/pandas,jorisvandenbossche/pandas,pandas-dev/pandas,jreback/pandas,pandas-dev/pandas,rs2/pandas