Dtype conversion error in V0.85 of the recent Pyarrow migration

Just submit a bug on GitHub #3634.

ArrowTypeError: (“Expected bytes, got a ‘datetime.datetime’ object”, ‘Conversion failed for column value with type object’)

This is the code snippet:

import streamlit as st
import pandas as pd
data = [['name', 'Kate'], ['nick', datetime.datetime(2000, 1, 1)], ['age', 14]]
df = pd.DataFrame(data, columns=['param', 'value'])
df['value'] = df['value'].astype('object')

If your project experienced the similar issue, it might work as normal by downgrading to 0.84. Appreciate if anyone comes up with a workaround.