as_py_list {sentiment.ai}R Documentation

as py list because R to Python conversion doesn't work with list is of length 1

Description

as py list because R to Python conversion doesn't work with list is of length 1

Usage

as_py_list(x)

Arguments

x

character vector that is to be passed into tensorflowtext via reticulate.

Value

List if x is length 1 else x.


[Package sentiment.ai version 0.1.1 Index]