0

How can i get this with numpy?! Please

I have this X =[0,1,3] And i want to replace 5 by 3... 6 by 0 and 7 by 1 5 x 6 x 7 x Output: Index. Parameters 3 x 0 x 1 x

20th Apr 2020, 6:59 PM
liliana fortty
liliana fortty - avatar
2 ответов
0
tou can create dictionary with zip function and then create new list use keys and corresponding valuea
20th Apr 2020, 8:38 PM
george
george - avatar
0
I Will try! Thanks!!!
20th Apr 2020, 8:49 PM
liliana fortty
liliana fortty - avatar