Closed
Description
I don't know if currently only pyright: basic
support is targeted? If not it would be nice if this could be infered, since as far as I know it should always be str
.
# pyright: strict
import pandas as pd
df = pd.DataFrame()
for name in df.columns: # Type of "name" is unknown Pylance(reportUnknownVariableType)
print(name)
Metadata
Metadata
Assignees
Labels
No labels