Python Forum
Need help for finding cumulative values in a loop
Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Need help for finding cumulative values in a loop
#6
Hi Larz60 and buran,

Thank you for your responses, and I apologize for not formatting the error above with tags!

The format of the variable "Quantity" is in the form of a 3D matrix, which contains 3 elements. This is in the form of [Days, latitude, longitude]. "Days" is in the form of integers, from Day 0 to Day 50,099, or 0-50,099 (so, 51,100 days, by default). There are 64 lines of latitude and 128 lines of longitude.

So, yes, Days would be in the form of integers. If that is the case, would there be a way to reorganize that line where the error is occurring?

Thank you, once again.
Reply


Messages In This Thread
RE: Need help for finding cumulative values in a loop - by Lightning1800 - May-23-2018, 12:54 PM
Looping issue - please help!! - by Lightning1800 - May-23-2018, 07:03 PM

Possibly Related Threads…
Thread Author Replies Views Last Post
  Loop through values and compare edroche3rd 6 716 Oct-18-2023, 04:04 PM
Last Post: edroche3rd
  Loop through json file and reset values [SOLVED] AlphaInc 2 2,185 Apr-06-2023, 11:15 AM
Last Post: AlphaInc
  Creating a loop with dynamic variables instead of hardcoded values FugaziRocks 3 1,535 Jul-27-2022, 08:50 PM
Last Post: rob101
  How do loop over curl and 'put' different values in API call? onenessboy 0 1,239 Jun-05-2022, 05:24 AM
Last Post: onenessboy
  Loop through values in dictrionary and find the same as in previous row Paqqno 5 1,936 Mar-27-2022, 07:58 PM
Last Post: deanhystad
  How to add for loop values in variable paulo79 1 1,475 Mar-09-2022, 07:20 PM
Last Post: deanhystad
Exclamation Compare values in a for loop. penahuse 1 2,385 Feb-22-2021, 07:01 AM
Last Post: buran
  Calculate column with cumulative return tgottsc1 1 1,883 Jan-25-2021, 12:52 PM
Last Post: buran
  returning values in for loop Nickd12 4 12,388 Dec-17-2020, 03:51 AM
Last Post: snippsat
  Finding Max and Min Values Associated with Unique Identifiers in Python ubk046 1 2,078 May-08-2020, 12:04 PM
Last Post: anbu23

Forum Jump:

User Panel Messages

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