Created
June 5, 2018 08:41
-
-
Save cessor/6b2c2dae31f75aaa5f0ada99e8a64146 to your computer and use it in GitHub Desktop.
Flatten nested list of comma separated strings
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
| # Simple Flatten Array | |
| functools.reduce(lambda a,b: a + b.split(','), list_, []) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment