package sklearn

  1. Overview
  2. Docs
Legend:
Page
Library
Module
Module type
Parameter
Class
Class type
Source

Module Text.MappingSource

Sourcetype tag = [
  1. | `Mapping
]
Sourcetype t = [ `Mapping | `Object ] Obj.t
Sourceval of_pyobject : Py.Object.t -> t
Sourceval to_pyobject : [> tag ] Obj.t -> Py.Object.t
Sourceval get_item : key:Py.Object.t -> [> tag ] Obj.t -> Py.Object.t

None

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

None

Sourceval get : ?default:Py.Object.t -> key:Py.Object.t -> [> tag ] Obj.t -> Py.Object.t

D.get(k,d) -> Dk if k in D, else d. d defaults to None.

Sourceval items : [> tag ] Obj.t -> Py.Object.t

D.items() -> a set-like object providing a view on D's items

Sourceval keys : [> tag ] Obj.t -> Py.Object.t

D.keys() -> a set-like object providing a view on D's keys

Sourceval values : [> tag ] Obj.t -> Py.Object.t

D.values() -> an object providing a view on D's values

Sourceval to_string : t -> string

Print the object to a human-readable representation.

Sourceval show : t -> string

Print the object to a human-readable representation.

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

Pretty-print the object to a formatter.

OCaml

Innovation. Community. Security.