Hi @chriddyp, I think the error message is okay. Perhaps I should have mentioned, I also tried with square brackets around learning from the error. However, I tried again with what you provided and ran into the following:
By the way, I had to adjust your suggestion by inserting one missing square bracket:
tooltip_data = [
{'type': 'text', 'value': [f'{r},{c}' for r in df[df.columns[0]].values]}
for c in df.columns
]