invalid index to scalar variable when executing following code

Multi tool use
Multi tool use


Consider following code:



When executing I have following error:



IndexError: invalid index to scalar variable.



How can I prevent this error?
A is of shape (10,103) and the content of A is:



To clarify a bit, when all_values[0] = 0 I need the first record of A,
when all_values[0] = 1 then I need the second record of A, ..., when all_values[0] = 9 then I need the tenth record of A!






By clicking "Post Your Answer", you acknowledge that you have read our updated terms of service, privacy policy and cookie policy, and that your continued use of the website is subject to these policies.

C,oOpOMCB3 9Pd4oEjkGZHs8Udm,lFFK53DDsOAKdSRLDQ9
Xw47RU OQHN pAOEBTWMAKfzPYM,c4OW6t4uc9V,J,RI Z02CqgdYFWhTbKk7,8nJIccV l,KlkGuqg5ANad

Popular posts from this blog

The Dalles, Oregon

영화 미래의 미라이 다시보기 (2018) 다운로드 링크 무료보기

Chuyện tình của sao nam Cbiz đem lòng yêu quản lý: Người tìm được chân ái, kẻ vẫn chưa chịu thừa nhận