Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

ENH:np.vectorize hides signature during jupyter introspection. #29824

Open
@jagerber48

Description

@jagerber48

Proposed new feature or change:

If I write a function in a python module or in my juptyer notebook, when I am writing to call that function in a jupyter notebook, I can presstab to see the function signature and docstring. This helps me quickly write code, especially if the function has many arguments. However if I have wrapped the function innp.vectorize I instead see documentation for thevectorize class. This spoils the benefits of the tab complete tooling available in jupyter and other IDE-like environments.

I would like if I could still see the docstring for my function even when it is wrapped innp.vectorize. I know there are tools likefunctools.wraps that can help with this sort of thing, but I also know that it can still be tricky to get the desired behavior. I wonder if this has been considered before fornp.vectorize?

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions


      [8]ページ先頭

      ©2009-2025 Movatter.jp