llustrated-library-7531a7c43ffb?sk=8dd60bfafd6d49231ac76cb148a4d16f>
.
Best regards,
Lev Maximov
On Tue, Oct 31, 2023 at 3:50 AM Dom Grigonis wrote:
> I juggled a bit and found pretty nice solution using numba. Which is
> probably not very robust, but proves that such thing can be optimi
It looks as though pybind11 can serve as a bridge between NumPy and Eigen:
https://pybind11.readthedocs.io/en/stable/advanced/cast/eigen.html
On Sun, Jun 11, 2023 at 2:39 AM Matti Picus wrote:
> On 6/6/23 06:46, darshan patel wrote:
>
> > it seems like numpy is moving toward c++ implementation,
What do you guys think of the chm format ("windows help")? This offline
documentation format is shipped with all python releases (eg
https://www.python.org/downloads/release/python-3913/).
It is simple to build from a hierarchy of html files, it is downloadable,
searchable, bookmarkable, has index,
Here's a story about how malicious pypi packages help break into corporate
networks.
It is not necessarily the goal this particular person was aiming for. Just
a side note.
"Dependency Confusion: How I Hacked Into Apple, Microsoft and Dozens of
Other Companies"
https://medium.com/@alex.birsan/depen
Rohit Goswami
wrote:
> Agreed, however, the NumPy learn section of the official documentation
> <https://numpy.org/learn/> is probably a better place to point to (though
> your article is justifiably also linked from there).
> --
>
> Rohit
>
Hi,
I believe this question fits Stack Overflow better.
Here're SO guidelines on how to create a minimal reproducible example:
https://stackoverflow.com/help/minimal-reproducible-example
If you're new to NumPy I'd recommend this visual guide:
https://betterprogramming.pub/numpy-illustrated-the-v
n, Jan 2, 2022 at 9:43 AM Dr. Mark Alexander Mikofski PhD <
mikof...@berkeley.edu> wrote:
> Dear Lev, thanks for this! Can you please post links to the GitHub &
> Medium articles? Sorry for my ignorance. Best Regards! Mark
>
> On Saturday, January 1, 2022, Lev Maximov wr
I've dual-published the article on github and medium under the title 'A
comprehensive guide to NumPy data types'.
Thank you all for your help and happy New Year!
Best regards,
Lev
On Sun, Jan 2, 2022 at 12:31 AM Stefano Miccoli
wrote:
> First of all, happy new 2022 UTC year!
>
> Let my add jus
Hey, Stefano!
The level of being pedantic is absolutely acceptable.
I don't question any of your arguments. They are all perfectly valid.
Except that I'd rather say it is ~29 seconds if measuring against 1970.
Leap seconds were introduced in 1972 and there were
a total of 27 seconds since then,
On Fri, Dec 31, 2021 at 12:12 AM Charles R Harris
wrote:
>
>
> On Thu, Dec 30, 2021 at 4:12 AM Lev Maximov wrote:
>
>> On Wed, Dec 29, 2021 at 9:59 AM Charles R Harris <
>> charlesr.har...@gmail.com> wrote:
>>
>>> On Tue, Dec 28, 2021 at 2:54 PM Warr
On Wed, Dec 29, 2021 at 9:59 AM Charles R Harris
wrote:
> On Tue, Dec 28, 2021 at 2:54 PM Warren Weckesser <
> warren.weckes...@gmail.com> wrote:
>
>> On 12/28/21, Lev Maximov wrote:
>> > On Tue, Dec 28, 2021 at 3:43 PM Evgeni Burovski
>> >
&g
• Short answer:
It's because
>>> f64_info.max - f64_info.min
inf
• Long answer:
linspace(a,b,n) tries to calculate the step by (b-a)/n and fails at (b-a).
You need to either
– split your range into two parts and then glue them back:
np.r_[np.linspace(f64_info.min, 0, 5), np.linspace(0, f64_info
On Wed, Dec 29, 2021 at 12:45 AM Eric Firing wrote:
> On 2021/12/27 10:09 PM, Lev Maximov wrote:
> > Btw, does it make sense to include the masked arrays? I know Pandas uses
> > something
> > like a masked array for representing null values in the integer columns.
> >
On Tue, Dec 28, 2021 at 3:43 PM Evgeni Burovski
wrote:
> Very nice overview!
>
> One question and one suggestion:
>
> 1. Is integer wraparound guaranteed for signed ints, or is it an
> implementation detail? For unsigned ints, sure, it's straight from a C
> standard; what about signed types howev
On Tue, Dec 28, 2021 at 9:12 PM Stefano Miccoli
wrote:
Hi Stefano,
> Nice overview!
>
Thanks!
> Of course the first sentence should be “leap years”, which leads to my
> main point.
>
Sure, I've already fixed this one, it just hasn't found its way online yet.
> It makes no sense to claim “lea
ger columns.
Does anyone use
NumPy masked arrays nowadays?
On Tue, Dec 28, 2021 at 3:11 AM Eric Firing wrote:
> On 2021/12/27 9:32 AM, Lev Maximov wrote:
> > > I'm surprised no one has mentioned it already: int and uint are
> > reversed in the first table.
> > Not an
great overview page that should be
> included in the numpy docs. Thanks Lev!
>
> Juan.
>
> On Sun, 26 Dec 2021, at 12:59 PM, Lev Maximov wrote:
>
> I've tried to take into account all the suggestions from this thread.
>
> https://axil.github.io/numpy-data-types.html
e np.typecode['Character']?
On Sun, Dec 26, 2021 at 11:57 PM Lev Maximov wrote:
> Python 3.9.7 (tags/v3.9.7:1016ef3, Aug 30 2021, 20:19:38) [MSC v.1929 64
> bit (AMD64)] on win32
>
> ^^ this is relevant this
> is not
32-vs-64-bit-explained-1232065/
>
> from 2023 on, all (or at least many) new ARM processors will be 64 bit
> only.
>
> Apple‘s iPhone 64 bit only since quite a while already (September 2017,
> iOS 11 release).
>
> On 26. Dec 2021, at 17:31, Lev Maximov wrote:
>
>
&
my issue (see below) is about. I
> think they have summarized it nicely in
>
> https://matt.sh/howto-c
>
> Best regards, Michael
>
> On 26. Dec 2021, at 13:49, Lev Maximov wrote:
>
>
> Dear Michael,
>
> Thank you for your feedback!
>
> I've fixed
ng the „traditional“ C datatypes, fixed types and prioritizing
> them in Numpy documentation, that‘s what my issue (see below) is about. I
> think they have summarized it nicely in
>
> https://matt.sh/howto-c
>
> Best regards, Michael
>
> On 26. Dec 2021, at 13:49,
at for my pull request as well.
>
> Many thanks & best regards, Michael
>
>
> On 25. Dec 2021, at 10:02, Lev Maximov wrote:
>
> Hi everyone,
>
> I'm almost done with the article about numpy types – something I haven't
> covered in Numpy Illustrated.
>
&
Hi everyone,
I'm almost done with the article about numpy types – something I haven't
covered in Numpy Illustrated.
Would someone please have a look to confirm I haven't written anything
anti-climatic there?
https://axil.github.io/numpy-data-types.html
--
Best regards,
Lev
PS Earlier today I'v
Hi Ralf,
I'm writing an article about numpy types – something I haven't covered in
the Numpy Illustrated.
Would you please have a look to confirm I haven't written anything
anti-climatic there? ;)
https://medium.com/@levmaximov/numpy-data-types-8f62cb57ea83
Best regards,
Lev
On Wed, Dec 1, 2021
I'm glad you sorted it out as the subject line sounded quite horrifying )
Best regards,
Lev
On Mon, Mar 29, 2021 at 2:54 PM Friedrich Romstedt <
friedrichromst...@gmail.com> wrote:
> Hi Matti, Sebastian and Lev,
>
> Am Mo., 15. Feb. 2021 um 18:50 Uhr schrieb Lev
I've reproduced the error you've described and got rid of it without
valgrind.
Those two lines are enough to avoid the segfault.
But feel free to find it yourself :)
Best regards,
Lev
On Tue, Feb 16, 2021 at 5:02 PM Friedrich Romstedt <
friedrichromst...@gmail.com> wrote:
> Hello again,
>
> Am
Hi Friedrich,
Try adding
view->suboffsets = NULL;
view->internal = NULL;
to Image_getbuffer
Best regards,
Lev
On Mon, Feb 15, 2021 at 10:57 PM Sebastian Berg
wrote:
> On Mon, 2021-02-15 at 10:12 +0100, Friedrich Romstedt wrote:
> > Hi,
> >
> > Am Do., 4. Feb. 2021 um 09:07 Uhr schrieb
27 matches
Mail list logo