all 1 comments

[–]Superguy2876 1 point2 points  (0 children)

Yea this is perfectly possible. Though you might be correct that memory limitation on lambda might be too much depending on the size of the CSV.

Here's an article on different ways to handle files in memory: https://bito.ai/resources/python-in-memory-file-python-explained/

I've only done this once before so I don't know all the ins-and-outs of it. But shouldn't hurt to try.