cmp0xff
cmp0xff
> So are you suggesting we'd have something like: > > * `Series[int, "numpy"] > > * `Series[int, "nullable"] > > * `Series[int, "pyarrow"] > > > in the stubs?...
I mean, there will be no `Series[int, Any]`. The default backend is `np.ndarray`, so we have `Series[int, np.ndarray]` as default.
When I run the example with `mypy`, I got ``` poetry run mypy 1149.py 1149.py:4: note: Revealed type is "pandas.core.series.Series[builtins.str]" 1149.py:5: note: Revealed type is "pandas.core.series.Series[builtins.str]" ``` I am on...
Hi, I've encountered the same problem. - Windows version: `10.0.19045.0` - PowerShell version: `7.5.0` I am in a virtual environment. - Python version: 3.12.9 - py-spy version: 0.4.0 Minimal reproducible...
We need a decision from the core developers before moving on. `Series[bool].__truediv__(list[bool])` has just been banned recently.
Regarding the current Issue, it arises with the developing main branch of pandas, which crashed the nightly test of pandas-stubs. It is a genuinly new case that cannot be summarised...
Hi, this feature is very helpful for projects where both `mypy` and `ty` are used.
Hi, thank you for showing me the FAQ. What I wanted to say is that `ty` goes against a PEP here, which can be surprising to users.
Thank you for opening the Issue again. Based on my understanding in pandas-dev/pandas-stubs#1574, I think printing as JustFloat | JustInt makes a lot of sense.