这是代码:data3 = data2.pivot(index='keywords', columns='Year', values='count')data3
然后的结果是:本应该有值的地方全都变成了NaN
实在是想不出来为什么会这样,希望有人告知,真心请教