ValueError: Index contains duplicate entries, cannot reshape in Pandas

How to reshape Pandas Series into 2d array