Compatibility issue with pandas 0.10 fixed