'Can anyone tell me what the following [Pyright reportGeneralTypeIssues] error means, because when I run the program it runs normally

Can anyone tell me what the following [Pyright reportGeneralTypeIssues] error means, because when I run the program it runs normally...

import pandas as pd

obj = pd.Series([4, 7, -5, 3])

obj.index = ['Bob', 'Steve', 'Jeff', 'Ryan']


 [Pyright reportGeneralTypeIssues] Cannot assign member "index" for type "Series" [E]


Sources

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

Source: Stack Overflow

Solution Source