'How to make Intellisense or auto complete working with Python?

For example, the following code not working for pandas.DataFrame.loc

import pandas as pd
from pandas import DataFrame

df: DataFrame = pd.DataFrame()
df.loc

In PyCharm

In VsCode



Solution 1:[1]

For VS code editor, there is an extension that I installed on my editor that takes care of that. Check it out via https://marketplace.visualstudio.com/items?itemName=ms-python.python

Sources

This article follows the attribution requirements of Stack Overflow and is licensed under CC BY-SA 3.0.

Source: Stack Overflow

Solution Source
Solution 1 Nature