This is the exercise link
On Question #6 I came up with another row-based solution vs the column based one which is the following:
clicks_pivot[‘percent_clicked’]=clicks_pivot.apply((lambda row: 1.0*(row[True]/(row[False]+row[True]))),axis=1)
For reference this is the “official solution”:
Why does my row-based approach not work?