Mar-31-2020, 06:52 PM
(This post was last modified: Mar-31-2020, 06:53 PM by deanhystad.)
Shouldn't it be: a = np.zeros((2,), dtype=np.object)
(2) is an int, (2,) is s tuple
(2) is an int, (2,) is s tuple
Inserting slice of array objects into different slice
|
Mar-31-2020, 06:52 PM
(This post was last modified: Mar-31-2020, 06:53 PM by deanhystad.)
Shouldn't it be: a = np.zeros((2,), dtype=np.object)
(2) is an int, (2,) is s tuple |
|
Messages In This Thread |
Inserting slice of array objects into different slice - by ThemePark - Mar-30-2020, 07:33 PM
RE: Inserting slice of array objects into different slice - by deanhystad - Mar-31-2020, 06:52 PM
RE: Inserting slice of array objects into different slice - by ThemePark - Mar-31-2020, 08:30 PM
RE: Inserting slice of array objects into different slice - by perfringo - Apr-01-2020, 04:35 AM
RE: Inserting slice of array objects into different slice - by ThemePark - Apr-01-2020, 01:10 PM
|
Possibly Related Threads… | |||||
Thread | Author | Replies | Views | Last Post | |
slice per group | Progressive | 3 | 6,686 |
Jul-20-2019, 06:52 AM Last Post: scidam |
|
TypeError: '(slice(None, None, None), 0)' is an invalid key | zaki424160 | 1 | 17,221 |
Jul-17-2019, 11:53 PM Last Post: scidam |
|
Melt or Slice | Grin | 0 | 2,686 |
Jun-24-2018, 06:02 PM Last Post: Grin |