我正在尝试更改数据框内的结构数据
function(cb) {
return this.model('Animal').find({ type: this.type }, cb);
};
在新数据框中应该看起来像(结果:找到top2较高的计数等原因):
year month count reason
2001 1 1 a
2001 2 3 b
2001 3 4 c
2005 1 4 a
2005 1 3 c
有人可以显示一些Python代码吗?预先谢谢你,