Movatterモバイル変換


[0]ホーム

URL:


Skip to contents

Create an Arrow Array

Source:R/array.R
arrow_array.Rd

Create an Arrow Array

Usage

arrow_array(x, type=NULL)

Arguments

x

An R object representable as an Arrow array, e.g. a vector, list, ordata.frame.

type

An optionaldata type forx. If omitted, the type will be inferred from the data.

Examples

my_array<-arrow_array(1:10)# Compare 2 arraysna_array<-arrow_array(c(1:5,NA))na_array2<-na_arrayna_array2==na_array# element-wise comparison#> Array#> <bool>#> [#>   true,#>   true,#>   true,#>   true,#>   true,#>   null#> ]

[8]ページ先頭

©2009-2025 Movatter.jp