mypy
issue when value of the dict passed to from_dict()
are scalars
#152
Labels
bug
Something isn't working
When a scalar value is used in the dict that is passed to
from_dict()
, then mypy will raise an error, while Pandas can handle this input just fine.Would it be better to change the stubs for
from_dict()
to also allow scalars?I did have a look at the
pandas._typing
module, which contains some definitions for scalars, but that doesn't seem to include numpy types.The text was updated successfully, but these errors were encountered: