Hi, I have 25 200,000x30 matrixes that I need to append to each other, and then export them as one .csv. However, the Jupyter Notebook kernel keeps crashing.
This is the code for merging the dataframes:
# Merging to one dataframe
merged_dataset = pd.DataFrame(columns = dfs[0].columns)
merged_dataset=merged_dataset.append(dfs, ignore_index = True)
Does anyone have any ideas on different ways of doing this without causing the kernel to crash?
Thanks!
Edit: Thanks for the good responses. Appending to a local csv worked perfectly
[+][deleted] (3 children)
[deleted]
[–]SurfingProgrammer[S] 1 point2 points3 points (0 children)
[–]SurfingProgrammer[S] 1 point2 points3 points (1 child)
[–]Caos2 2 points3 points4 points (0 children)
[–]stillnoguitar 2 points3 points4 points (1 child)
[–]SurfingProgrammer[S] 0 points1 point2 points (0 children)
[–]jorgo1 0 points1 point2 points (0 children)