i have a 2d array of strings and i want to replace them with other strings that are bigger in length. I tried this
for key, value in UniqueIds.items():
indices[indices[...] == str(value)] = key
to replace each value with the corresponding key, but each value is 4 bytes and the key is about 10, and the changed value shows only the first 4 letters