<SYSTEM_TASK:>
Solve the following problem using Python, implementing the functions described below, one line at a time
<END_TASK>
<USER_TASK:>
Description:
 def numpy_bins(self) -> np.ndarray: """Bins in the numpy format This might not be available for inconsecutive binnings. Returns ------- edges: np.ndarray shape=(bin_count+1,) """

        if self._numpy_bins is None:
            self._numpy_bins = to_numpy_bins(self.bins)
        return self._numpy_bins