package sklearn

  1. Overview
  2. Docs
Legend:
Library
Module
Module type
Parameter
Class
Class type
type tag = [
  1. | `Chain
]
type t = [ `Chain | `Object ] 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

chain( *iterables) --> chain object

Return a chain object whose .__next__() method returns elements from the first iterable until it is exhausted, then elements from the next iterable, until all of the iterables are exhausted.

val iter : [> tag ] Obj.t -> Dict.t Seq.t

Implement iter(self).

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

Alternative chain() constructor taking a single iterable argument that evaluates lazily.

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.