Created
January 27, 2018 06:36
-
-
Save mpilosov/55df5906715ee5e8c7fe4dbf8d4a8513 to your computer and use it in GitHub Desktop.
keywording in python
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import scipy.stats as sstats | |
def ev(*args, **kwds): | |
return sstats.norm(*args, **kwds) | |
kw = {'loc':2} | |
def kwrap(kwds): | |
return ev(**kwds) | |
print(kwrap(kw).rvs(3)) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
can try
kw={'shape':2, 'loc':3}
, etc.