package np

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

Return selfkey.

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

Implement iter(self).

val __setitem__ : key:Py.Object.t -> value:Py.Object.t -> [> tag ] Obj.t -> Py.Object.t

Set selfkey to value.

val dtypes : t -> Py.Object.t

Attribute dtypes: get value or raise Not_found if None.

val dtypes_opt : t -> Py.Object.t option

Attribute dtypes: get value as an option.

val finished : t -> bool

Attribute finished: get value or raise Not_found if None.

val finished_opt : t -> bool option

Attribute finished: get value as an option.

val has_delayed_bufalloc : t -> bool

Attribute has_delayed_bufalloc: get value or raise Not_found if None.

val has_delayed_bufalloc_opt : t -> bool option

Attribute has_delayed_bufalloc: get value as an option.

val has_index : t -> bool

Attribute has_index: get value or raise Not_found if None.

val has_index_opt : t -> bool option

Attribute has_index: get value as an option.

val has_multi_index : t -> bool

Attribute has_multi_index: get value or raise Not_found if None.

val has_multi_index_opt : t -> bool option

Attribute has_multi_index: get value as an option.

val index : t -> Py.Object.t

Attribute index: get value or raise Not_found if None.

val index_opt : t -> Py.Object.t option

Attribute index: get value as an option.

val iterationneedsapi : t -> bool

Attribute iterationneedsapi: get value or raise Not_found if None.

val iterationneedsapi_opt : t -> bool option

Attribute iterationneedsapi: get value as an option.

val iterindex : t -> int

Attribute iterindex: get value or raise Not_found if None.

val iterindex_opt : t -> int option

Attribute iterindex: get value as an option.

val itersize : t -> int

Attribute itersize: get value or raise Not_found if None.

val itersize_opt : t -> int option

Attribute itersize: get value as an option.

val itviews : t -> Py.Object.t

Attribute itviews: get value or raise Not_found if None.

val itviews_opt : t -> Py.Object.t option

Attribute itviews: get value as an option.

val multi_index : t -> Py.Object.t

Attribute multi_index: get value or raise Not_found if None.

val multi_index_opt : t -> Py.Object.t option

Attribute multi_index: get value as an option.

val ndim : t -> int

Attribute ndim: get value or raise Not_found if None.

val ndim_opt : t -> int option

Attribute ndim: get value as an option.

val nop : t -> int

Attribute nop: get value or raise Not_found if None.

val nop_opt : t -> int option

Attribute nop: get value as an option.

val operands : t -> Py.Object.t

Attribute operands: get value or raise Not_found if None.

val operands_opt : t -> Py.Object.t option

Attribute operands: get value as an option.

val shape : t -> int list

Attribute shape: get value or raise Not_found if None.

val shape_opt : t -> int list option

Attribute shape: get value as an option.

val value : t -> Py.Object.t

Attribute value: get value or raise Not_found if None.

val value_opt : t -> Py.Object.t option

Attribute value: get value as an option.

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 : Stdlib.Format.formatter -> t -> unit

Pretty-print the object to a formatter.

OCaml

Innovation. Community. Security.