I have data in the below format:
and I want to pivot this data on the Attribute column. The data should look like below after replacing NaN with 0s
NaN
0
2.1m questions
2.1m answers
60 comments
57.0k users