In ruby: ``` >> PyCall.import_module('scipy.stats').norm.pdf([1, 2, 3], 0, 10) PyCall::PyError: <class 'TypeError'>: pdf() takes 2 positional arguments but 4 were given from /Users/mrkn/src/github.com/mrkn/pycall.rb/lib/pycall/pyobject_wrapper.rb:43:in `pdf' ``` In python: ``` >>> import scipy.stats >>> scipy.stats.norm.pdf([1, 2, 3], 0, 10) array([0.03969525, 0.03910427, 0.03813878]) ```
Activity
zamananjum0 commentedon Dec 28, 2022
any update on this??
mrkn commentedon Dec 28, 2022
No, there isn't any updates. I’m sorry I cannot handle this right now. Any investigation results you may have are welcome.
felixmarch commentedon Nov 10, 2026
The issue is reproducible
(my env is windows with anaconda)
On python, the same codes work fine there:
felixmarch commentedon Nov 10, 2026
PR #238 raised
Return non-routine callable attributes when called without arguments (r…