copulas/univariate/base.py
def _constant_sample(self, num_samples):
        """Sample values for a constant distribution.

        Args:
            num_samples(int): Number of rows to sample

        Returns:
            numpy.ndarray: Sampled values. Array of shape (num_samples,).
        """
        return np.full(num_samples, self.constant_value)
Sample values for a constant distribution.

        Args:
            num_samples(int): Number of rows to sample

        Returns:
            numpy.ndarray: Sampled values. Array of shape (num_samples,).
        
Sample values for a constant distribution.
Sample values for a constant distribution .
def _constant_sample(self, num_samples):
        return np.full(num_samples, self.constant_value)
def _constant_sample ( self , num_samples ) : return np . full ( num_samples , self . constant_value )
Sample values for a constant distribution.
Sample values for a constant distribution .
"""Sample values for a constant distribution.

        Args:
            num_samples(int): Number of rows to sample

        Returns:
            numpy.ndarray: Sampled values. Array of shape (num_samples,).
        """
Sampled values. Array of shape (num_samples,).
Sampled values . Array of shape ( num_samples ) .
numpy.ndarray
self
num_samples
Number of rows to sample
Number of rows to sample