Replace Array Element Numpy Python Pdf To Text