Closed loicdiridollou closed 1 week ago
Issue is actually that __matmul__
method is not typehinted in pandas-stubs/core/series.pyi
:
https://github.com/pandas-dev/pandas-stubs/blob/779aab6dd43eb7f17ffde0f5f28efbd88804a143/pandas-stubs/core/series.pyi#L801
Describe the bug When multiplying two series with the
@
operator, no type is inferred and the resulting typeUnknown
will be assigned.To Reproduce
I believe it should return a Scalar at minimum, in some cases Series but it seems like the type hinting of
@
is not in the stubs.Please complete the following information:
pandas-stubs
2.2.3.241009