split an array of cells based on color with python?

I have an array of cells that are split into tables of white cells. each table is separated from another by a horizontal blue line across the array w/ the title of the table below.

  1. is there a way to get python to check the % of populated white cells in each table?

  2. and is there a way to get python to generate a table of that information?