On Thu, 2021-09-16 at 14:39 -0600, Aaron Meurer wrote:
> On Thu, Sep 16, 2021 at 12:32 AM Nico Schlömer <
> nico.schloe...@gmail.com> wrote:
> >
> > > I was playing with this though and was a little surprised to find
> > > NumPy allows things like this:
> > >
> > > > > > a = np.array([1, 2, 3])
On Thu, Sep 16, 2021 at 12:32 AM Nico Schlömer wrote:
>
> > I was playing with this though and was a little surprised to find
> > NumPy allows things like this:
> >
> > >>> a = np.array([1, 2, 3])
> > >>> a[:] = np.array([[[5, 6, 7]]])
> > >>> a
> > array([5, 6, 7])
>
> Thanks Aaron for this examp