I agree that pandas is probably not the right approach here, especially as the file grows. However, probably worth doing a quick test at seeing how fast a large file is and maybe it is fine. Probably the best is to go to the end of the file and then read in reverse, something like https://stackoverflow.com/questions/10933838/how-to-read-a-csv-file-in-reverse-order-in-python seems like would be a good solution. I'm sure that is very fast as well. Since it's a csv, you can use the built-in csv reader or pass the resulting buffer into pandas and do it that way.
-- You received this message because you are subscribed to the Google Groups "pyqtgraph" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. To view this discussion on the web visit https://groups.google.com/d/msgid/pyqtgraph/bf96639d-3353-48e8-9ec5-0e8ab6462dc0%40googlegroups.com. For more options, visit https://groups.google.com/d/optout.
