Fix failing python based doctest on reindex.rst