Ported global_row to pydriver