A/B Testing for ShoeFly.com question 6

Hello everybody,
I am doing this exercise (question 6) https://www.codecademy.com/paths/data-science/tracks/data-processing-pandas/modules/dspath-agg-pandas/projects/pandas-shoefly-ab-test

The correction that is proposed is:
clicks_pivot[‘percent_clicked’] = clicks_pivot[True] / (clicks_pivot[True] + clicks_pivot[False])
But I did (and it did not work):
clicks_pivot[‘percent_clicked’] = clicks_pivot[‘True’] / (clicks_pivot[‘True’] + clicks_pivot[‘False’])

Could someone tell me why the second one is not good please? I get a “KeyError: ‘True’” .
Is is coming from the pivot that was done in the question 5 before?
Why can we not put things between ’ ’ as it was the case so far?

Thank you :slight_smile:

True is a Boolean value, while 'True' is a string. True == 'True' will evaluate to False

oooh yes, i got it, thank you!