I know this is the code I wrote before, but I've realized now that the right way to check the length of a numpy string dtype is to use the `datatype.itemsize` attribute. So let's replace `int(datatype.str[2:]) > 1` with `datatype.itemsize > 1`.