Pandas Series[Unknown] error when using Pylance

Viewed 14

Using VSCode with Pylance, creating a basic series with pandas shown here will show an error. I looked around online and this question hasn't been asked yet, so I'm assuming I have some basic setup done incorrectly.

Using conda, python@3.8.3, pandas@1.4.4

enter image description here

import pandas as pd

test_series = pd.Series([1, 3, 5, 6, 7, 8])
(variable) test_series: Series[Unknown]
Type of "test_series" is partially unknown
  Type of "test_series" is "Series[Unknown]"PylancereportUnknownVariableType
0 Answers
Related