You can adjust this by going to the Python Integrated Tools settings.

On Windows/Linux

File -> Settings -> Tools -> Python Integrated Tools 

On OS X

PyCharm -> Preferences -> Tools -> Python Integrated Tools

Then there is a Docstrings section. Change the drop down format to NumPy and press "OK"

Answer from Andy on Stack Overflow
🌐
JetBrains
jetbrains.com › help › pycharm › settings-tools-python-integrated-tools.html
Integrated Tools | PyCharm Documentation
July 19, 2026 - Use this page to configure requirements management file, default test runner, and documentation strings treatment · Package requirements file
Discussions

python - How to change PyCharms docstring autocomplete? - Stack Overflow
I have been programming in PyCharm ... a new docstring for a function that I have defined PyCharm will autocomplete the docstring using what I believe is sphinx style formatting. Example in picture below: I'd like to change this format to something appear like the docstrings ... More on stackoverflow.com
🌐 stackoverflow.com
intellij idea - Make 'Google' the default docstring style for ALL projects PyCharm - Stack Overflow
I'm not sure that issue is relevant ... style 2024-09-17T02:47:22.903Z+00:00 ... Find the answer to your question by asking. Ask question ... See similar questions with these tags. ... I’m Jody, the Chief Product and Technology Officer at Stack Overflow. Let’s... ... 9 How to enable python docstring insertion in 2016.1 Intellij IDEA/Python Community Edition 5.1.145.45 · 7 PyCharm, how to change the font of ... More on stackoverflow.com
🌐 stackoverflow.com
What style does PyCharm / IntelliJ use for Python docstrings? - Stack Overflow
I'm trying to understand the "solution ecosystem" with respect to creating docstrings, and then generating some nice reference documentation with PyCharm/IntelliJ. I'm used to the Google style More on stackoverflow.com
🌐 stackoverflow.com
python - Custom PyCharm docstring stubs (i.e. for google docstring or numpydoc formats) - Stack Overflow
Does PyCharm 2.7 (or will PyCharm 3) have support for custom docstring and doctest stubs? If so, how does one go about writing this specific type of custom extension? My current project has standardized on using the Google Python Style Guide (http://google-styleguide.googlecode.com/svn/tru... More on stackoverflow.com
🌐 stackoverflow.com
🌐
JetBrains
jetbrains.com › help › pycharm › using-docstrings-to-specify-types.html
Specify types with docstrings | PyCharm Documentation
September 1, 2025 - In the list of intention actions that opens, choose Insert a documentation string stub. PyCharm creates a documentation stub, according to the selected docstring format, with the type specification, collected during the debugger session.
🌐
Medium
medium.com › @hotakoma › how-to-change-docstrings-format-in-pycharm-and-example-of-automatic-input-8c50f7555699
How to change Docstrings format in PyCharm and example of automatic input | by Hotaru Komajou | Medium
June 21, 2022 - To change this setting, please select the options in this order. [Settings -> Tools ->Python Integrated Tools ->Docstring format] ... These are samples of each style.
🌐
JetBrains
intellij-support.jetbrains.com › hc › en-us › community › posts › 115000784410-how-to-change-pycharm-default-commenting-style-for-function-
how to change pycharm default commenting style for function? – IDEs Support (IntelliJ Platform) | JetBrains
December 20, 2017 - ... """ validating the closure ... How? ... Hi Pswpeterpab! You can switch docstring style in Settings | Tools | Python Integrated Tools | Docstring format, you are looking for NumPy style I believe....
🌐
JetBrains
jetbrains.com › help › pycharm › type-syntax-for-docstrings.html
Legacy type syntax for docstrings | PyCharm Documentation
March 18, 2026 - Use project settings to alter the docstring format (Settings | Python | Tools | Integrated Tools) .
Find elsewhere
🌐
YouTube
youtube.com › jorge anais
How to change doc style to numpy in Pycharm - YouTube
Step by step:Settings→ Tools→ Python Integrated Tools→ Docstring Format→ NumPy
Published: September 7, 2020
Views: 228
🌐
Medium
medium.com › @djnrrd › automatic-documentation-with-pycharm-70d37927df57
Automatic Documentation with PyCharm | by DJ Nrrd | Medium
April 21, 2020 - At the top of the docstring, provide a brief one line description of the function. Then if you need anything wordy, type that in a new paragraph, keeping everything at the same indentation level (I’ve taken to having PyCharm hard wrap on 80 columns as well).
🌐
pythontutorials
pythontutorials.net › blog › how-to-change-pycharms-docstring-autocomplete
How to Change PyCharm Docstring Autocomplete to NumPy Style: A Step-by-Step Guide — pythontutorials.net
Locate the dropdown labeled Docstring format. By default, this may be set to Google or reStructuredText. Click the dropdown and select NumPy from the list of options. ... Click Apply (at the bottom of the window) to save the change.
🌐
JetBrains
jetbrains.com › help › pycharm › creating-documentation-comments.html
Create documentation comments | PyCharm Documentation
August 14, 2026 - In the Docstring format dropdown, select reStructuredText. Then type the opening triple double-quotes and press Enter or Space. PyCharm generates a documentation comment stub in reStructuredText format:
🌐
Note.nkmk.me
note.nkmk.me › home › python
Python Docstring Formats (Styles) and Examples | note.nkmk.me
August 26, 2023 - Specify types with docstrings | PyCharm Documentation ... def func_rest(param1, param2): """Summary line. :param param1: Description of param1 :type param1: int :param param2: Description of param2 :type param2: str :returns: Description of ...
🌐
JetBrains
youtrack.jetbrains.com › issue › PY-12327 › Customizable-docstring-generation-templates
Customizable docstring generation templates : PY-12327
Our website uses some cookies and records your IP address for the purposes of accessibility, security, and managing your access to the telecommunication network. You can disable data collection and cookies by changing your browser settings, but it may affect how this website functions.
🌐
Stack Overflow
stackoverflow.com › questions › 49104406 › how-to-change-pycharm-python-docstring-color
How to change pycharm python docstring color - Stack Overflow
I stuck a long time with setting pycharm code editor background color, seems pycharm has an overcomplete color settings, but very elusive, and no good documentation, I tried to change the docstring color to green, but after apply and save, nothing happened:
🌐
Programmersought
programmersought.com › article › 35684494093
Pycharm's docstring document string style - Programmer Sought
Set location: Tools -> Python Integrated Tools -> Docstrings -> Docstring format ... # Plain def foo1(a, b): """ """ return a+b # reStructuredText def foo2(a, b): """ :param a: :param b: :return: """ return a+b # Numpy def foo3(a, b): """ Parameters ---------- a b Returns ------- """ return ...