Mar-08-2024, 10:36 AM
(Mar-08-2024, 10:30 AM)Pedroski55 Wrote: As I understand your request:
Quote:1. Read data from an example Excel/csv/text which you did not supply.
2. Returns True or False, so for testing, any list of True or False values would suffice to mimic your daq/Disp comparison. If this list reflects the reality on the ground there, would be better. If we had such a list, even better!
4. If the daq/Disp comparison turns out to be False, write the values from the csv we don't have to the datafame we don't have.
5. Check the whole length of the data frame we don't have.
6. After checking the whole df stop.
7. But don't stop until you have checked the df x cycles where x is a number we don't have.
How then can I try this out to see if it works or not?
Doesn't actually seem to hard, if one had some data to work with and check.
Sample Input File.xlsx (Size: 19.03 KB / Downloads: 29)
sample read displacement.csv (Size: 2.41 KB / Downloads: 20)
My bad I have supplied two attachments one is the input file and the other is the sample displacement being read. The max number of cycles is not fixed but for this purpose we can assume it to be let us say 3. I hope I was able to clarify.