See: https://github.com/pydata/pandas-gbq/pull/25#discussion_r155355165 Currently the code loops over each row to encode it as JSON. This could be sped up by calling `to_json()` on the whole dataframe instead.