Array Slicing In Python Using Pandas In Jupyter