Created
August 13, 2018 05:23
-
-
Save isaacmg/96150f83a04633cf129192f3d8668e36 to your computer and use it in GitHub Desktop.
large_file
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
for i,chunk in enumerate(pd.read_csv('bigfile.csv', chunksize=500000)): | |
chunk.to_csv('chunk{}.csv'.format(i)) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment