How To Do A Testing Key Variable Table Python