Become an expert in R — Interactive courses, Cheat Sheets, certificates and more!
Get Started for Free

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.

Details

enumerate zips together a list with it's indices.

Value

a list of lists

Author(s)

References

Examples

zip2(1:5,1:10)
enumerate(l=LETTERS)

stackoverflow

Stack Overflow's Greatest Hits

v0.7.0
CC BY-SA 4.0
Authors
Neal Fultz <nfultz@gmail.com> and the StackOverflow.com community
Initial release
2020-01-03

We don't support your browser anymore

Please choose more modern alternatives, such as Google Chrome or Mozilla Firefox.