你们产品 pandas 是什么版本的

df_ 财务核算账簿.set_index(‘编码’, inplace = True)
这段代码为什么我独立运行没事, 通过你们代码块就提示报错?
TypeError: only integer scalar arrays can be converted to a scalar index