I have some code to generate numbers simulating a normal distribution. Still, given a mean and standard deviation, my question is, how can I generate random numbers to resemble geometric and binomial distributions? I know numpy has these packages, but they use probability as arguments instead of mean and standard deviation.
import matplotlib.pyplot as plt
import numpy as np
x = np.random.normal(10, 20, 10000)
plt.hist(x, density=True, bins=30) # density=False would make counts
plt.ylabel('Probability')
plt.xlabel('Data')
plt.show()

