code: def numpy_bins_with_mask(self) -> Tuple[np.ndarray, np.ndarray]:
          
          bwm = to_numpy_bins_with_mask(self.bins)
          if not self.includes_right_edge:
              bwm[0].append(np.inf)
          return bwm
docs: Bins in the numpy format, including the gaps in inconsecutive binnings.
  
          Returns
          -------
          edges, mask: np.ndarray
  
          See Also
          --------
          bin_utils.to_numpy_bins_with_mask