rbartpackages.base.Series

class rbartpackages.base.Series(*args, **kwargs)[source]

Duck type of the series arguments accepted by the wrappers.

Both pandas.Series and polars.Series match; they are converted to R vectors, with categoricals becoming factors.

property dtype: object[source]

Element data type.

to_numpy()[source]

Convert to a numpy array.

Return type:

ndarray