If I try to validate code that uses pandas methodes with pylance in strict mode, I get a validation error.
import pandas as pd
ser: pd.Series[float] = pd.Series([.1, .2, .5, .3])
print(ser.max())
Pylance in strict mode returns the error:
Type of "max" is partially unknown
Am I doing something wrong? Can I avoid this error without switching pylance to basic mode?