def lognormal(mean=0.0, sigma=1.0, size=None, dtype=float):
 rs = generator.get_random_state()
 return rs.lognormal(mean, sigma, size=size, dtype=dtype)

def lognormal ( mean = 0.0 , sigma = 1.0 , size = None , dtype = float ) : rs = generator . get_random_state ( ) return rs . lognormal ( mean , sigma , size = size , dtype = dtype )
returns an array of samples drawn from a log normal distribution .