def _check_coordinates(self, coordinates):
if len(coordinates) != self.size:<EOL><INDENT>raise TypeError("<STR_LIT>"<EOL>"<STR_LIT>")<EOL><DEDENT>
the number of rows must be the same as the length of the array numbers