[SciPy-user] stats module accessibility
Nuttall, Brandon C
bnuttall at uky.edu
Thu Sep 27 10:58:16 EDT 2007
Alan,
Why not:
>>> from scipy.stats import describe
>>> describe(series)
It's all in the way you specify the import
Brandon
Powered by CardScan
-----Original Message-----
From: scipy-user-bounces at scipy.org [mailto:scipy-user-bounces at scipy.org] On Behalf Of Alan G Isaac
Sent: Thursday, September 27, 2007 11:01 AM
To: SciPy Users List
Subject: [SciPy-user] stats module accessibility
Why not allow direct use of subpackages of scipy?
That is, if I want to ``describe`` a series, why not
allow::
scipy.stats.describe(myseries)
instead of::
from scipy import stats
stats.describe(myseries)
or::
from scipy.stats import describe
describe(myseries)
I am sure this is a naive question about package structure,
but I'd like to understand.
Thank you,
Alan Isaac
_______________________________________________
SciPy-user mailing list
SciPy-user at scipy.org
http://projects.scipy.org/mailman/listinfo/scipy-user
More information about the SciPy-User
mailing list