-
I have only just started using import pandas as pd
s = pd.Series([1.0, 2.0, -3.0], dtype=float)
pd.to_numeric(s) This raises
import pandas as pd
pd.read_csv("data.csv") This raises
I am using Pylance v2023.2.30 and have installed pandas-stubs-1.5.3.230214 in my venv. |
Beta Was this translation helpful? Give feedback.
Replies: 3 comments 2 replies
-
@Molkree We test with |
Beta Was this translation helpful? Give feedback.
-
We support a subset of "strict". See the settings we use here (and the lines below): Line 176 in 00ab656 The "partially unknown" messages are occurring because in |
Beta Was this translation helpful? Give feedback.
-
Here's another weird one with strict: from pandas import to_datetime will complain about the
|
Beta Was this translation helpful? Give feedback.
@Molkree We test with
pyright
. Can you check if you are using the "basic" or "strict" setting within pylance? We are not yet supporting "strict" .