<SYSTEM_TASK:>
Solve the following problem using Python, implementing the functions described below, one line at a time
<END_TASK>
<USER_TASK:>
Description:
 def random_sample(self):
 """ Creates random points within the bounds of the space. Returns data: ndarray [num x dim] array points with dimensions corresponding to `self._keys` Example ------- array([[ 55.33253689, 0.54488318]]) """

        # TODO: support integer, category, and basic scipy.optimize constraints
        data = np.empty((1, self.dim))
        for col, (lower, upper) in enumerate(self._bounds):
            data.T[col] = self.random_state.uniform(lower, upper, size=1)
        return data.ravel()