def calc_gb_size(num_rows, row_size):
    """Calculate the size of table in GB 
    given row size and number of rows in bytes"""
    total_byte = row_size * num_rows
    total_gb = ((total_byte / 1024) / 1024) / 1024
    return total_gb