I have a somewhat (for most people) easy to answer and really basic question - probably.
Imagine having a simple simple and normal dataframe with 20 rows (columns don't matter in this example). Is there a way for me, to get all the rows following a specific selection pattern in terms of numbers? E.g.: I want the first 3 rows, skip the next 5 and then get the following 3 rows after the skipped ones --> after the 3 have been selected, skip the next 5 rows and so on until the end of the data frame is reached. --> rows and their specific column
Basically: RowsOfInterest, SkipThisAmountOfRows, RowsOfInterest, SkipThisAmountOfRows being for exmaple: 1:3, 5, next 1:3 (after the 5 skipped ones), 5, 1:3 and so on.
Help would be appreciated - thanks in advance!