Fixed SOI index problem related to new version of Pandas