BUG: Fix for issue #12553
closes #12553 

thanks. See the contributing guide [here](http://pandas.pydata.org/pandas-docs/stable/contributing.html)

Like to have tests!
 in the future, no need to open a NEW pull-request, just force push to the old one.
