py_to_r_df: Convert pandas.DataFrame to an R DataFrame

Description Usage Arguments Value

Description

Note: not a perfect conversion! Does not handle dates, lists, etc. Not likely to work except for the simplest dataframes. For each dtype, converts pandas DataFrame to an R data.frame via a matrix.

Usage

1
py_to_r_df(py_df, dtypes = ALLOWED_DTYPES)

Arguments

py_df

Python object (pandas.DataFrame) to be converted

dtypes

which dtypes to convert, as character vector

Value

R data.frame


jburos/reticulatedf documentation built on May 8, 2019, 8:35 a.m.