[Numpy-discussion] Re: ndarray typing advise

2022-01-18 Thread Vincent Schut
Sorry to bump my own issue, but I wonder if just no-one knows, or if it has been overlooked, or maybe I did not explain my questions right? Should I rather ask this on SO? Or should I just be more patient...? Thanks! Vincent. On 1/13/22 11:43, Vincent Schut wrote: Hi, I'm having a har

[Numpy-discussion] ndarray typing advise

2022-01-13 Thread Vincent Schut
eed this result into something that is supposed to receive a builtin.float, mypy complains. Is an explicit cast(float, ) the prefered way to gain compatibility here? versions: numpy: 1.22.0 python: 3.8.10 (unfortunately we're limited to this version) mypy: 0.931 Thanks! Vincent. --

[Numpy-discussion] Re: mypy false positives

2022-01-07 Thread Vincent Schut
has no attribute "foo" ``` Regards, Bas van Beek -------- *From:* Vincent Schut *Sent:* 07 January 2022 15:38 *To:* numpy-discussion@python.org *Subject:* [Numpy-discussion] mypy false positives Hi all, I've got a qu

[Numpy-discussion] mypy false positives

2022-01-07 Thread Vincent Schut
; Module has no attribute "histogram"; maybe "histogramdd"? Module has no attribute "bitwise_or" Module has no attribute "bitwise_and" Module has no attribute "indices" Module has no attribute "pad" versions: python 3.8.10; numpy 1.22.0

Re: [Numpy-discussion] Best fit linear piecewise function?

2021-06-02 Thread Vincent Schut
NumPy-Discussion mailing list NumPy-Discussion@python.org https://mail.python.org/mailman/listinfo/numpy-discussion -- Vincent Schut Remote Sensing Software Engineer +31 302272679 ~ Maliebaan 22 | 3581CP | Utrecht | Netherlands Linkedin <https://www.linkedin.com/company/satellige