Created
March 26, 2020 19:05
-
-
Save JoaoCarabetta/793daa073f66fc5502e99bfcd1417dfd to your computer and use it in GitHub Desktop.
Break list in chuncks
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
break_list_in_chuncks = lambda data, chunck: [data[x:x+chunck] for x in range(0, len(data), chunck)] |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment