np_array: NumPy array

Description Usage Arguments Value

View source: R/array.R

Description

Create NumPy arrays and convert the data type and in-memory ordering of existing NumPy arrays.

Usage

1
np_array(data, dtype = NULL, order = "C")

Arguments

data

Vector or existing NumPy array providing data for the array

dtype

Numpy data type (e.g. "float32", "float64", etc.)

order

Memory ordering for array. "C" means C order, "F" means Fortran order.

Value

A NumPy array object.


Mormukut11/R-interface-to-Python documentation built on May 21, 2019, 9:36 a.m.