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
#6
(Sep-08-2023, 06:47 PM)Mehboob Wrote:
(Sep-06-2023, 03:12 PM)deanhystad Wrote: The error message looks like a numpy index error. What is load_profile? I looked at the pypower source for ext2int() and it looks like the return type is a case dict. I don't have enough curiosity to install the package or dig through all the source to learn what that dictionary looks like. Could you print out load_profile before and after calling ext2int?

I am sending you a file that contains the contents of dictionary before and after applying ext2int along-with load and pv profile with case(grid file), not two much lengthy and the paper which is implemented in this code. i am trying to resolve the issue since 6 months but struck here, if you could go through it, it will be very helpful for me to continue my PhD research

Attached Files

Thumbnail(s)
   

.docx   contnet of ppc.docx (Size: 21.03 KB / Downloads: 55)
.csv   Load_profile10.csv (Size: 153.58 KB / Downloads: 28)
.csv   PV_profile10.csv (Size: 101.8 KB / Downloads: 25)
.py   case_10_nodes.py (Size: 3.45 KB / Downloads: 37)
Reply


Messages In This Thread
RE: IndexError: index 10 is out of bounds for axis 0 with size 10 - by Mehboob - Sep-08-2023, 07:02 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,847 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