n = 10
df = pd.DataFrame({'timestamp': [datetime.now() for t in range(n)], 'value':
    np.random.uniform(-1, 1, n)})
r_dataframe = pandas2ri.py2ri(df)
print(r_dataframe)
Converting a Pandas DataFrame to R dataframe using Rpy2