In PyCharm, I have a file containing comments and then the first line:
df = pandas.read_csv('data')...which is invalid because pandas is undefined.
The completions/fixes menu contains Convert single-quoted string to double-quoted string and Inject language or reference, but no option to automatically add import pandas.

Why there is no red bulb when the library or package not be imported? There is only yellow bulb.
I want to use the quick fix red bulb to auto import pandas.
My PyCharm version is 2023.3.2. and I run in MacBook Air.
Anyone can help me to solve this problem. Thanks a lot for your help.