ThreadSky
About ThreadSky
Log In
cvoelcker.bsky.social
•
83 days ago
Is there any logic to which functions in numpy are available as x.fn() and which ones are only available as np.fn(x)?
Comments
Log in
with your Bluesky account to leave a comment
[–]
axelbrunnbauer.bsky.social
•
83 days ago
My bet is on legacy.
0
reply
[–]
amirmesbah.bsky.social
•
83 days ago
There are some posts mentioning that we use x.fn(), when we want to apply a function on a array but referring to developers it seems there is no special reason
https://github.com/numpy/numpy/issues/7452
0
reply
Posting Rules
Be respectful to others
No spam or self-promotion
Stay on topic
Follow Bluesky's terms of service
×
Reply
Post Reply
Comments
https://github.com/numpy/numpy/issues/7452