I want to delete certain elements in an ordered DataFrame dim=(1.5 million,14). If the conditions for deletion are met, the code to check if the next element is also up for deletion (if the string in [x,1] is identical) looks like this:
I checked with println that this part takes about 1 s (was faster for me than looking up the @time syntax again, my bad).
This isn’t scalable.
Edit: My indents are gone. Sorry