**Describe the bug** `DataFrame.assign()` should allow lists and ranges **To Reproduce** ```python import pandas as pd df = pd.DataFrame({"a": [1,2,3]}) df = df.assign(b=lambda df: range(len(df)), c=lambda df: [10,20,30]) ``` Need to update `IntoColumn` in `_typing.pyi` to include `list[Scalar]` and `range` **Please complete the following information:** - OS: Windows 11 - python version 3.10 - `pyright` 1.1.400 - version of installed `pandas-stubs` : development version
Activity
[-]`DataFrame.assign(` should allow a list and a range[/-][+]`DataFrame.assign()` should allow a list and a range[/+]