Free Access Week - Data Engineering + BI
Data Engineering and BI courses are free this week!
Free Access Week - Jun 2-8

stackoverflow (version 0.7.0)

zip2: Zip / Enumerate from python

Description

zip2s together parallel lists into a list-of-lists. It is named zip2 to not collide with utils.

Usage

zip2(...)

enumerate(...)

Arguments

...

Objects to be zipped together.

Value

a list of lists

Details

enumerate zips together a list with it's indices.

References

https://stackoverflow.com/questions/9281323/zip-or-enumerate-in-r/57564884#57564884

Examples

Run this code
# NOT RUN {
zip2(1:5,1:10)
enumerate(l=LETTERS)
# }

Run the code above in your browser using DataLab