I am running a loop.
The formula is reading an iterable object as a string.
dist_names = ['Lognorm','Weibull']
for i in dist_names:
param = scipy.stats.i.fit(data)
I want the formula above to be 'scipy.stats.Lognorm.fit(data)'.
How can I make the 'i' be read as 'Lognorm'
Thanks!