Make pandas sharing check compatible with numpy 1.7
Merge pull request #924 from rhattersley/numpy-1.7-pandas-sharing

Make pandas data-sharing check compatible with numpy 1.7