Code completion | PyCharm
www.jetbrains.com › help › pycharmDec 10, 2021 · PyCharm automatically adds an import statement when you refer any module member or package in the Python code and invoke code completion. Auto-import on code completion is also applied to some popular package name aliases, such as np for numpy or pd for pandas .