rbartpackages.base.DataFrame¶
- class rbartpackages.base.DataFrame(*args, **kwargs)[source]¶
Duck type of the dataframe arguments accepted by the wrappers.
Both
pandas.DataFrameand polars.DataFrame match; they are converted to R data frames, with categorical columns becoming factors. The wrappers that return a data frame return a polars one if polars and pyarrow are installed, else a pandas one.