Conversation

my data was too big for google sheets, so i installed and learned python. but now it's too big for my computer, python won't run it. off to buy a new computer i guess?
257
738
Replying to
Don't load the whole thing into memory at once. Go line by line and do whatever analysis you need. Or use a library with sparse statistics capabilities. You can divide into chunks worst case and recombine once processed.
1
11
Replying to
One way would be to just split the file every x lines and then do what you normally would. You'd then have to combine the results. The other way is to read a single line from the file, process it, depending on what you're specifically doing. There aren't always easy answers.
1
The nice thing about csvs is you can read them bit by bit with endlines separating each line, so python is pretty good at chunking for you. The python csv library should be pretty good at giving you a method to read one line at a time
1
3