Python Change Array To String Python Replace Nan With 0