Python Forum
IndexError: index 10 is out of bounds for axis 0 with size 10
Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
IndexError: index 10 is out of bounds for axis 0 with size 10
#10
(Sep-10-2023, 01:10 PM)deanhystad Wrote: What is the value of nb? What is the shape of load_profile (assuming it is a numpy array)?

Please stop posting screenshots and word documents. Post text.

for 10 bus system, value of nb (10,13) while shape of load_profile is 9
Reply


Messages In This Thread
RE: IndexError: index 10 is out of bounds for axis 0 with size 10 - by Mehboob - Sep-11-2023, 07:22 PM

Possibly Related Threads…
Thread Author Replies Views Last Post
Exclamation IndexError: Replacement index 2 out of range for positional args tuple - help? MrKnd94 2 6,849 Oct-14-2022, 09:57 PM
Last Post: MrKnd94
  IndexError: list index out of range dolac 4 2,014 Jul-25-2022, 03:42 PM
Last Post: deanhystad
  IndexError: list index out of range Anldra12 2 1,505 May-03-2022, 01:39 PM
Last Post: Anldra12
  For loop index out of bounds armitron121 2 2,754 Feb-08-2022, 04:23 PM
Last Post: armitron121
  Sample labels from excel file in order to put them on x-axis and y-axis of a plot hobbyist 11 4,551 Sep-14-2021, 08:29 AM
Last Post: hobbyist
  IndexError: list index out of range rf_kartal 6 2,945 Sep-07-2021, 02:36 PM
Last Post: Larz60+
  IndexError: list index out of range Laplace12 1 2,271 Jun-22-2021, 10:47 AM
Last Post: Yoriz
  IndexError: list index out of range brunolelli 11 6,770 Mar-25-2021, 11:36 PM
Last Post: brunolelli
  IndexError: list index out of range ramu4651 2 3,815 Jan-24-2021, 01:45 PM
Last Post: buran
  IndexError: index 10 is out of bounds for axis 0 with size 1 vahid89 1 12,399 Jan-07-2021, 06:19 PM
Last Post: deanhystad

Forum Jump:

User Panel Messages

Announcements
Announcement #1 8/1/2020
Announcement #2 8/2/2020
Announcement #3 8/6/2020