add test to check type of df column after loc() (#47264)
add test to check type of df column after loc() (#47264)

* add test

* double quotes

* fixes

* remove pd

* fix index type
datapythonista/pandas,pandas-dev/pandas,pandas-dev/pandas,datapythonista/pandas,pandas-dev/pandas,pandas-dev/pandas,datapythonista/pandas,datapythonista/pandas