Hacker News new | past | comments | ask | show | jobs | submit login

Maybe something like `numpy.typing.ArrayLike|numbers.Number`. Not incredibly precise. But if this covers also pandas.Series (not entirely sure), then I think it would cover 99.9% of my practical needs. numpy arrays are effectively the standard library datatype for matrices in Python land.



Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: