1. Get the memory size of a DataFrame of Pandas
Python

2. Upload a large DataFrame of Pandas to BigQuery table

If your DataFrame is too big, the uploading operation will report “UDF out of memory”

Console

The solution is as simple as splitting the DataFrame and upload them one by one:

Python

3. Restore table in BigQuery

How to recover a deleted table in BigQuery? Just use bq command

Bash

If your <timestamp> is not correct, the bq command will give you a notification about what <timestamp> is right for this table. Then you can use that correct <timestamp> again.