Moved generic to_gbq to frame.py