def set(self, locs, values):
try:<EOL><INDENT>self.values[locs] = values<EOL><DEDENT>except (ValueError):<EOL><INDENT>new_shape = list(values.shape)<EOL>new_shape[<NUM_LIT:0>] = len(self.items)<EOL>self.values = np.empty(tuple(new_shape), dtype=self.dtype)<EOL>self.values.fill(np.nan)<EOL>self.values[locs] = values<EOL><DEDENT>
Modify Block in-place with new item value

Returns
-------
None