package scipy

  1. Overview
  2. Docs
Legend:
Library
Module
Module type
Parameter
Class
Class type
type tag = [
  1. | `Zip
]
type t = [ `Object | `Zip ] Obj.t
val of_pyobject : Py.Object.t -> t
val to_pyobject : [> tag ] Obj.t -> Py.Object.t
val create : Py.Object.t list -> t

zip( *iterables) --> A zip object yielding tuples until an input is exhausted.

>>> list(zip('abcdefg', range(3), range(4))) ('a', 0, 0), ('b', 1, 1), ('c', 2, 2)

The zip object yields n-length tuples, where n is the number of iterables passed as positional arguments to zip(). The i-th element in every tuple comes from the i-th iterable argument to zip(). This continues until the shortest argument is exhausted.

val __iter__ : [> tag ] Obj.t -> Py.Object.t

Implement iter(self).

val to_string : t -> string

Print the object to a human-readable representation.

val show : t -> string

Print the object to a human-readable representation.

val pp : Format.formatter -> t -> unit

Pretty-print the object to a formatter.

OCaml

Innovation. Community. Security.