Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
map() is a function in python2, and iterator in python3+; In any case - map is inefficient compared to either comprehensions (most efficient), or simple loops (close second). SInce in this case, data.append() returns nothing, use a simple look. It is clearer, more efficient, and works with both python2 and python3
- Loading branch information